lkml.org 
[lkml]   [2010]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 32/52] ASoC: Fix WM8350 DSP mode B configuration
    Date
    From: Mark Brown <broonie@opensource.wolfsonmicro.com>

    commit 5ee518ecbcb5934e284ea51a19a939c891f5f7ea upstream.

    We need to set the LRCLK inversion bit to select DSP mode.

    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ---
    sound/soc/codecs/wm8350.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/sound/soc/codecs/wm8350.c b/sound/soc/codecs/wm8350.c
    index 593d5b9..2089fe7 100644
    --- a/sound/soc/codecs/wm8350.c
    +++ b/sound/soc/codecs/wm8350.c
    @@ -925,7 +925,7 @@ static int wm8350_set_dai_fmt(struct snd_soc_dai *codec_dai, unsigned int fmt)
    iface |= 0x3 << 8;
    break;
    case SND_SOC_DAIFMT_DSP_B:
    - iface |= 0x3 << 8; /* lg not sure which mode */
    + iface |= 0x3 << 8 | WM8350_AIF_LRCLK_INV;
    break;
    default:
    return -EINVAL;
    --
    1.6.6


    \
     
     \ /
      Last update: 2010-01-14 23:33    [W:0.034 / U:0.208 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site