ALSA: AACI: fix recording bug
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 29 Nov 2009 16:39:59 +0000 (16:39 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 8 Dec 2009 19:16:53 +0000 (11:16 -0800)
commitec80577e2e409977d33649197c2ced7269d2c7c2
tree44940e92ad778a44a9f95b1f10b3935a5ef03aee
parenta390ede93a1b9f6a66c39789fc97e6219068c9a9
ALSA: AACI: fix recording bug

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