summaryrefslogtreecommitdiff
path: root/mm
diff options
context:
space:
mode:
authorSylwester Nawrocki <s.nawrocki@samsung.com>2014-07-10 18:11:13 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-18 12:00:04 +0900
commit082dab58a637b1d1105195c8d481f49da7ea62b4 (patch)
tree3ba29aeb6018c461b2cb6b1178535bb1abcb584e /mm
parent8ca3b715beb58ec8685108463464a427350393d3 (diff)
downloadlinux-3.10-082dab58a637b1d1105195c8d481f49da7ea62b4.tar.gz
linux-3.10-082dab58a637b1d1105195c8d481f49da7ea62b4.tar.bz2
linux-3.10-082dab58a637b1d1105195c8d481f49da7ea62b4.zip
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. Change-Id: Id8852022e385674b07ed79415198aff6814733d8 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 'mm')
0 files changed, 0 insertions, 0 deletions