OSDN Git Service

ALSA: oxfw: allow PCM capture for Stanton SCS.1m
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 9 Jun 2019 10:29:12 +0000 (19:29 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Jun 2019 06:17:18 +0000 (08:17 +0200)
commitd370caca5df97de4f111ba80048c29cd80e89833
tree93b14308b8f67a61ed94bd1d96673195248bf6a6
parentcb0c8bbd9df7d81c6b4aa5694aeb8bf0f479abd0
ALSA: oxfw: allow PCM capture for Stanton SCS.1m

commit d8fa87c368f5b4096c4746894fdcc195da285df1 upstream.

Stanton SCS.1m can transfer isochronous packet with Multi Bit Linear
Audio data channels, therefore it allows software to capture PCM
substream. However, ALSA oxfw driver doesn't.

This commit changes the driver to add one PCM substream for capture
direction.

Fixes: de5126cc3c0b ("ALSA: oxfw: add stream format quirk for SCS.1 models")
Cc: <stable@vger.kernel.org> # v4.5+
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/firewire/oxfw/oxfw.c