lkml.org 
[lkml]   [2012]   [Aug]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[ 104/109] ASoC: wm8994: Ensure there are enough BCLKs for four channels
    Date
    From: Greg KH <gregkh@linuxfoundation.org>

    3.4-stable review patch. If anyone has any objections, please let me know.

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

    From: Mark Brown <broonie@opensource.wolfsonmicro.com>

    commit b8edf3e5522735c8ce78b81845f7a1a2d4a08626 upstream.

    Otherwise if someone tries to use all four channels on AIF1 with the
    device in master mode we won't be able to clock out all the data.

    Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

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

    --- a/sound/soc/codecs/wm8994.c
    +++ b/sound/soc/codecs/wm8994.c
    @@ -2695,7 +2695,7 @@ static int wm8994_hw_params(struct snd_p
    return -EINVAL;
    }

    - bclk_rate = params_rate(params) * 2;
    + bclk_rate = params_rate(params) * 4;
    switch (params_format(params)) {
    case SNDRV_PCM_FORMAT_S16_LE:
    bclk_rate *= 16;



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