lkml.org 
[lkml]   [2013]   [Dec]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.12 020/212] ASoC: cs42l52: Correct MIC CTL mask
    Date
    3.12-stable review patch.  If anyone has any objections, please let me know.

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

    From: Brian Austin <brian.austin@cirrus.com>

    commit 3d800c6d75b8c92fa928a0bcaf95cd7ac5fd1ce5 upstream.

    The mask for CS42L52_MIC_CTL_TYPE_MASK was wrong keeping the mic config
    from being set correctly.

    Signed-off-by: Brian Austin <brian.austin@cirrus.com>
    Signed-off-by: Mark Brown <broonie@linaro.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    sound/soc/codecs/cs42l52.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/sound/soc/codecs/cs42l52.h
    +++ b/sound/soc/codecs/cs42l52.h
    @@ -179,7 +179,7 @@
    #define CS42L52_MICB_CTL 0x11
    #define CS42L52_MIC_CTL_MIC_SEL_MASK 0xBF
    #define CS42L52_MIC_CTL_MIC_SEL_SHIFT 6
    -#define CS42L52_MIC_CTL_TYPE_MASK 0xDF
    +#define CS42L52_MIC_CTL_TYPE_MASK 0x20
    #define CS42L52_MIC_CTL_TYPE_SHIFT 5





    \
     
     \ /
      Last update: 2013-12-02 21:21    [W:10.558 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site