summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChen Liangjun <b36089@freescale.com>2012-02-17 14:33:50 +0800
committerChen Liangjun <b36089@freescale.com>2012-02-17 15:22:36 +0800
commit4f01f76f4e60713cba46b754f99e785c6d46e597 (patch)
tree316fe0703f19f2af23e4060a78a5e504cda7dd88 /include/linux
parent5cfe06665c19092ddca273ee5f0642e8f1290896 (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/linux')
-rw-r--r--include/linux/mxc_asrc.h1
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);