diff options
author | John Hsu <KCHSU0@nuvoton.com> | 2018-03-21 12:16:32 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-03-22 10:07:33 +0800 |
commit | b53117c0b881d78d5d66a7e1be11d62a077c1e25 (patch) | |
tree | e2d5ad5195c80a037739ead20993b06c0751f8d1 /sound/soc/rockchip | |
parent | 12a72f91a28eb302e1431ef0bb68b5f83e35a891 (diff) | |
download | linux-stable-b53117c0b881d78d5d66a7e1be11d62a077c1e25.tar.gz |
ASoC: nau8824: recover system clock when device changes
User reports an issue in Ubuntu about the device switch upon playback.
We find the FLL will disalbe when switching headphone to speaker.
The pulseaudio will stop the headphone and close its power. Then,
it just opens the speaker and turn on its power. Therefore,
the supply of system clock does the OFF event and disables FLL.
But the FLL doesn't enable again when the speaker powers on.
The patch adds the recovery of system clock to enable FLL again
for this case. And it covers the case that system clock from MCLK.
Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/rockchip')
0 files changed, 0 insertions, 0 deletions