diff options
author | Kai-Heng Feng <kai.heng.feng@canonical.com> | 2019-07-18 05:53:13 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-07-18 08:03:29 -0400 |
commit | 70256b42caaf3e13c2932c2be7903a73fbe8bb8b (patch) | |
tree | bc415d28da7d443f11ce0dd2f3e07c70d5c328e9 | |
parent | 59d81c1e3cade953a0cb3f66ce9a3f2398fdfac3 (diff) |
ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1
Commit 7b9584fa1c0b ("staging: line6: Move altsetting to properties")
set a wrong altsetting for LINE6_PODHD500_1 during refactoring.
Set the correct altsetting number to fix the issue.
BugLink: https://bugs.launchpad.net/bugs/1790595
Fixes: 7b9584fa1c0b ("staging: line6: Move altsetting to properties")
Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/usb/line6/podhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/line6/podhd.c b/sound/usb/line6/podhd.c index f0662bd4e50f..27bf61c177c0 100644 --- a/sound/usb/line6/podhd.c +++ b/sound/usb/line6/podhd.c | |||
@@ -368,7 +368,7 @@ static const struct line6_properties podhd_properties_table[] = { | |||
368 | .name = "POD HD500", | 368 | .name = "POD HD500", |
369 | .capabilities = LINE6_CAP_PCM | 369 | .capabilities = LINE6_CAP_PCM |
370 | | LINE6_CAP_HWMON, | 370 | | LINE6_CAP_HWMON, |
371 | .altsetting = 1, | 371 | .altsetting = 0, |
372 | .ep_ctrl_r = 0x81, | 372 | .ep_ctrl_r = 0x81, |
373 | .ep_ctrl_w = 0x01, | 373 | .ep_ctrl_w = 0x01, |
374 | .ep_audio_r = 0x86, | 374 | .ep_audio_r = 0x86, |