lkml.org 
[lkml]   [2015]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.16.y-ckt 078/135] ASoC: wm8960: Fix capture sample rate from 11250 to 11025
    Date
    3.16.7-ckt6 -stable review patch.  If anyone has any objections, please let me know.

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

    From: Zidan Wang <b50113@freescale.com>

    commit 22ee76daddb87f88d2336d1b4737ef27c4f307ac upstream.

    wm8960 codec can't support sample rate 11250, it must be 11025.

    Signed-off-by: Zidan Wang <b50113@freescale.com>
    Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
    Signed-off-by: Mark Brown <broonie@kernel.org>
    Signed-off-by: Luis Henriques <luis.henriques@canonical.com>
    ---
    sound/soc/codecs/wm8960.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/sound/soc/codecs/wm8960.c b/sound/soc/codecs/wm8960.c
    index a145d0431b63..8cb647f5a19e 100644
    --- a/sound/soc/codecs/wm8960.c
    +++ b/sound/soc/codecs/wm8960.c
    @@ -555,7 +555,7 @@ static struct {
    { 22050, 2 },
    { 24000, 2 },
    { 16000, 3 },
    - { 11250, 4 },
    + { 11025, 4 },
    { 12000, 4 },
    { 8000, 5 },
    };
    --
    2.1.4


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