From 4ebafea802938fce342b2cebe7fc471c5f47423b Mon Sep 17 00:00:00 2001 From: Chen Liangjun Date: Fri, 17 Feb 2012 14:33:50 +0800 Subject: 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 --- include/linux/mxc_asrc.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include/linux') 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); -- cgit v1.2.3