diff options
author | Chen Liangjun <b36089@freescale.com> | 2012-02-17 14:33:50 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:22:57 +0800 |
commit | 4ebafea802938fce342b2cebe7fc471c5f47423b (patch) | |
tree | 59034978be67142dfa41f48c2878b17b6f616f48 /include | |
parent | 6ca6911357e81a513ce02b825afce98d7e07bb8a (diff) |
ENGR00174747 ASRC:fix spinlock bug
When use clk_enable and clk_disable function, system may enter
sleep. so these 2 funciton can not used surrounding with spin
lock/unlock. And the clk_enable/disable function already keep
the counter of open and close and it is no need to keep the counter
in driver.
Signed-off-by: Chen Liangjun <b36089@freescale.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mxc_asrc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mxc_asrc.h b/include/linux/mxc_asrc.h index 516b0b69f286..f0136f0502f0 100644 --- a/include/linux/mxc_asrc.h +++ b/include/linux/mxc_asrc.h @@ -197,7 +197,6 @@ struct asrc_pair_params { struct asrc_data { struct asrc_pair asrc_pair[3]; - unsigned int counter; }; extern int asrc_req_pair(int chn_num, enum asrc_pair_index *index); |