]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00220172 ESAI ASRC: put all asrc pair release operation to shutdown()
authorChen Liangjun <b36089@freescale.com>
Sun, 12 Aug 2012 15:03:01 +0000 (23:03 +0800)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:12:40 +0000 (14:12 +0200)
commit93d1b5a27b2ed87f55c2af19851d0afbaaadf868
tree7fb0923e04918d2bcc5843d6d683bcf180926322
parentfdda1956f84381b76b75c879d4761889a5b77f55
ENGR00220172 ESAI ASRC: put all asrc pair release operation to shutdown()

When use ASRC for ESAI P2P playback, ESAI driver would release ASRC pair
resource immediately after ASRC function's error return.It may
introduce risk that in ESAI machine driver's shutdown(), ASRC resource
release operation may be double called. In this case, system hang
happens due to ASRC register's operation with no clock.

In this patch, let all ASRC resource release operation in ESAI machine
driver's shutdown().

Signed-off-by: Chen Liangjun <b36089@freescale.com>
sound/soc/imx/imx-cs42888.c