lkml.org 
[lkml]   [2014]   [Feb]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.5 44/88] ASoC: adau1701: Fix ADAU1701_SEROCTL_WORD_LEN_16 constant
    Date
    3.5.7.30 -stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Lars-Peter Clausen <lars@metafoo.de>

    commit e20970ada3f699c113fe64b04492af083d11a7d8 upstream.

    The driver defines ADAU1701_SEROCTL_WORD_LEN_16 as 0x10 while it should be b10,
    so 0x2. This patch fixes it.

    Reported-by: Magnus Reftel <magnus.reftel@lockless.no>
    Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
    Signed-off-by: Mark Brown <broonie@linaro.org>
    Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
    ---
    sound/soc/codecs/adau1701.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/sound/soc/codecs/adau1701.c b/sound/soc/codecs/adau1701.c
    index 3d50fc8..347f455 100644
    --- a/sound/soc/codecs/adau1701.c
    +++ b/sound/soc/codecs/adau1701.c
    @@ -64,7 +64,7 @@

    #define ADAU1701_SEROCTL_WORD_LEN_24 0x0000
    #define ADAU1701_SEROCTL_WORD_LEN_20 0x0001
    -#define ADAU1701_SEROCTL_WORD_LEN_16 0x0010
    +#define ADAU1701_SEROCTL_WORD_LEN_16 0x0002
    #define ADAU1701_SEROCTL_WORD_LEN_MASK 0x0003

    #define ADAU1701_AUXNPOW_VBPD 0x40
    --
    1.8.3.2


    \
     
     \ /
      Last update: 2014-02-07 13:41    [W:3.914 / U:0.664 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site