]> 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)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:12 +0000 (08:35 +0200)
commite147d5dc7332dbd565f56c21f0221c549ef84351
tree7fb0923e04918d2bcc5843d6d683bcf180926322
parent4e07c426b12fd64a0646cf8e49fc7693faa7c1ad
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