From b0d0ac72a7381b4a9a40f3ac0c83a886571094cf Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 2 Aug 2014 14:28:10 -0600 Subject: [PATCH] WM8904 driver: Disable the FFL at the end of playing. --- drivers/audio/wm8904.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/audio/wm8904.c b/drivers/audio/wm8904.c index 3051ec1e48..d3d77bb74e 100644 --- a/drivers/audio/wm8904.c +++ b/drivers/audio/wm8904.c @@ -1585,7 +1585,12 @@ static void *wm8904_workerthread(pthread_addr_t pvarg) /* Disable the WM8904 interrupt */ WM8904_DISABLE(priv->lower); + + /* Mute the volume and disable the FLL output */ + wm8904_setvolume(priv, priv->volume, true); + wm8904_writereg(priv, WM8904_FLL_CTRL1, 0); + wm8904_writereg(priv, WM8904_DUMMY, 0x55aa); /* Return any pending buffers in our pending queue */