• John Hsu's avatar
    ASoC: nau8824: recover system clock when device changes · b53117c0
    John Hsu authored
    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: default avatarJohn Hsu <KCHSU0@nuvoton.com>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    b53117c0
nau8824.c 60.8 KB