summaryrefslogtreecommitdiff
path: root/kernel/tsacct.c
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2014-07-10 20:11:13 +0400
committerMark Brown <broonie@linaro.org>2014-07-11 17:04:03 +0400
commitb97c60abf9a561f86ae71bd741add02673cc1a08 (patch)
tree851e1dcb759881e00193956e9cf30a0ec8779e74 /kernel/tsacct.c
parentd3d4e5247b013008a39e4d5f69ce4c60ed57f997 (diff)
downloadlinux-b97c60abf9a561f86ae71bd741add02673cc1a08.tar.xz
ASoC: samsung-i2s: Maintain CDCLK settings across i2s_{shutdown/startup}
Currently configuration of the CDCLK pad is being overwritten in the i2s_shutdown() callback in order to gate the SoC output clock. However if an ASoC machine driver doesn't restore that clock settings each time after opening the sound device this results in the CDCLK pin being permanently configured into input mode. I.e. the output clock will always stay disabled. Fix that by saving the CDCLKCON bit state in i2s_shutdown() and and restoring it in the i2s_startup() callback. Signed-off-by: Chen Zhen <zhen1.chen@samsung.com> Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'kernel/tsacct.c')
0 files changed, 0 insertions, 0 deletions