]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - pending-4.14/alsa-oxfw-allow-pcm-capture-for-stanton-scs.1m.patch
5.1-stable patches
[thirdparty/kernel/stable-queue.git] / pending-4.14 / alsa-oxfw-allow-pcm-capture-for-stanton-scs.1m.patch
1 From d8fa87c368f5b4096c4746894fdcc195da285df1 Mon Sep 17 00:00:00 2001
2 From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
3 Date: Sun, 9 Jun 2019 19:29:12 +0900
4 Subject: ALSA: oxfw: allow PCM capture for Stanton SCS.1m
5
6 From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
7
8 commit d8fa87c368f5b4096c4746894fdcc195da285df1 upstream.
9
10 Stanton SCS.1m can transfer isochronous packet with Multi Bit Linear
11 Audio data channels, therefore it allows software to capture PCM
12 substream. However, ALSA oxfw driver doesn't.
13
14 This commit changes the driver to add one PCM substream for capture
15 direction.
16
17 Fixes: de5126cc3c0b ("ALSA: oxfw: add stream format quirk for SCS.1 models")
18 Cc: <stable@vger.kernel.org> # v4.5+
19 Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
20 Signed-off-by: Takashi Iwai <tiwai@suse.de>
21 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
22
23 ---
24 sound/firewire/oxfw/oxfw.c | 3 ---
25 1 file changed, 3 deletions(-)
26
27 --- a/sound/firewire/oxfw/oxfw.c
28 +++ b/sound/firewire/oxfw/oxfw.c
29 @@ -176,9 +176,6 @@ static int detect_quirks(struct snd_oxfw
30 oxfw->midi_input_ports = 0;
31 oxfw->midi_output_ports = 0;
32
33 - /* Output stream exists but no data channels are useful. */
34 - oxfw->has_output = false;
35 -
36 return snd_oxfw_scs1x_add(oxfw);
37 }
38