diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2014-07-10 20:11:13 +0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-07-11 17:04:03 +0400 |
commit | b97c60abf9a561f86ae71bd741add02673cc1a08 (patch) | |
tree | 851e1dcb759881e00193956e9cf30a0ec8779e74 /ipc/util.h | |
parent | d3d4e5247b013008a39e4d5f69ce4c60ed57f997 (diff) | |
download | linux-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 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions