lkml.org 
[lkml]   [2009]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[02/20] ALSA: AACI: fix recording bug

    2.6.27-stable review patch. If anyone has any objections, please let us know.

    ------------------
    From: Russell King <rmk+kernel@arm.linux.org.uk>
    commit 8ee763b9c82c6ca0a59a7271ce4fa29d7baf5c09 upstream.

    pcm->r[1].slots is the double rate slot information, not the
    capture information. For capture, 'pcm' will already be the
    capture ac97 pcm structure.

    Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
    Signed-off-by: Takashi Iwai <tiwai@suse.de>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

    ---
    sound/arm/aaci.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)
    --- a/sound/arm/aaci.c
    +++ b/sound/arm/aaci.c
    @@ -521,7 +521,7 @@ static int aaci_pcm_hw_params(struct snd
    else
    err = snd_ac97_pcm_open(aacirun->pcm, params_rate(params),
    params_channels(params),
    - aacirun->pcm->r[1].slots);
    + aacirun->pcm->r[0].slots);

    if (err)
    goto out;



    \
     
     \ /
      Last update: 2009-12-07 00:45    [from the cache]
    ©2003-2011 Jasper Spaans