]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00161288 balance spdif clock enables and disables
authorAlan Tull <alan.tull@freescale.com>
Wed, 2 Nov 2011 17:57:55 +0000 (12:57 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:09:53 +0000 (14:09 +0200)
commit41aff5889007df1b2fd611a10d5857fb6473b832
tree553c81a2a0c5da90b7e55b6df3ceacf215bdf53b
parent5baa640a0cd09cf8d67c8e00e43aba8317aa5fd2
ENGR00161288 balance spdif clock enables and disables

Add tx_active, rx_active flags to keep track of what channels
have enabled clocks.

In suspend/resume, only disable/re-enable the clocks that were
enabled.

Signed-off-by: Alan Tull <alan.tull@freescale.com>
sound/soc/codecs/mxc_spdif.c