]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00174747 ASRC:fix spinlock bug
authorChen Liangjun <b36089@freescale.com>
Fri, 17 Feb 2012 06:33:50 +0000 (14:33 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:58 +0000 (14:10 +0200)
commite451759f3ff52062ac192ec38910f87c30ce541d
tree59034978be67142dfa41f48c2878b17b6f616f48
parentefce41a70901fc351b2f2311423f526867555ba3
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>
drivers/mxc/asrc/mxc_asrc.c
include/linux/mxc_asrc.h