[alsa-devel] [PATCH] ASoC: WM9081 interrupt status register is volatile

Girdwood, Liam lrg at ti.com
Wed Oct 19 09:53:55 CEST 2011


On 18 October 2011 19:32, Mark Brown
<broonie at opensource.wolfsonmicro.com> wrote:
> Not that we have interrupt handling in the driver at the minute.
>
> Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
> ---
>  sound/soc/codecs/wm9081.c |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/sound/soc/codecs/wm9081.c b/sound/soc/codecs/wm9081.c
> index 2b6a75c..8176138 100644
> --- a/sound/soc/codecs/wm9081.c
> +++ b/sound/soc/codecs/wm9081.c
> @@ -173,6 +173,7 @@ static int wm9081_volatile_register(struct snd_soc_codec *codec, unsigned int re
>  {
>        switch (reg) {
>        case WM9081_SOFTWARE_RESET:
> +       case WM9081_INTERRUPT_STATUS:
>                return 1;
>        default:
>                return 0;
> --
> 1.7.6.3
>
>

Acked-by: Liam Girdwood <lrg at ti.com>


More information about the Alsa-devel mailing list