lkml.org 
[lkml]   [2015]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4.1 074/267] ASoC: max98925: Fix mask for setting DAI invert mode
    Date
    4.1-stable review patch.  If anyone has any objections, please let me know.

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

    From: Axel Lin <axel.lin@ingics.com>

    commit 0b51601d4504f46f585eed823485101390f0b588 upstream.

    The M98925_DAI_WCI_MASK bit is not updated with current code.
    To properly set the DAI invert mode, the mask should be
    M98925_DAI_BCI_MASK | M98925_DAI_WCI_MASK.

    Signed-off-by: Axel Lin <axel.lin@ingics.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

    --- a/sound/soc/codecs/max98925.c
    +++ b/sound/soc/codecs/max98925.c
    @@ -346,7 +346,7 @@ static int max98925_dai_set_fmt(struct s
    }

    regmap_update_bits(max98925->regmap, MAX98925_FORMAT,
    - M98925_DAI_BCI_MASK, invert);
    + M98925_DAI_BCI_MASK | M98925_DAI_WCI_MASK, invert);
    return 0;
    }




    \
     
     \ /
      Last update: 2015-08-01 00:01    [W:4.031 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site