diff options
author | Kai-Heng Feng | 2019-07-18 11:53:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2019-07-31 07:27:11 +0200 |
commit | 491483ed70f17a374943c825385c356264035f31 (patch) | |
tree | 96c71c923323cdc9141a850ff860308d6f036f8d /sound | |
parent | ALSA: ac97: Fix double free of ac97_codec_device (diff) | |
download | kernel-qcow2-linux-491483ed70f17a374943c825385c356264035f31.tar.gz kernel-qcow2-linux-491483ed70f17a374943c825385c356264035f31.tar.xz kernel-qcow2-linux-491483ed70f17a374943c825385c356264035f31.zip |
ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1
commit 70256b42caaf3e13c2932c2be7903a73fbe8bb8b upstream.
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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-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 5f3c87264e66..da627b015b32 100644 --- a/sound/usb/line6/podhd.c +++ b/sound/usb/line6/podhd.c @@ -417,7 +417,7 @@ static const struct line6_properties podhd_properties_table[] = { .name = "POD HD500", .capabilities = LINE6_CAP_PCM | LINE6_CAP_HWMON, - .altsetting = 1, + .altsetting = 0, .ep_ctrl_r = 0x81, .ep_ctrl_w = 0x01, .ep_audio_r = 0x86, |