diff options
| author | Chen Liangjun <b36089@freescale.com> | 2012-02-17 14:33:50 +0800 |
|---|---|---|
| committer | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-08-28 09:43:34 -0700 |
| commit | e86c2abe882f21af816132b014e25e68b98f1783 (patch) | |
| tree | 04d266274767d43497b1bfb377ab4c411362fcf9 /include | |
| parent | e91b7d100187dd1af0300acb7256c539b6386774 (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); |
