Skip to content

Commit

Permalink
ALSA: line6: Fix wrong altsetting for LINE6_PODHD500_1
Browse files Browse the repository at this point in the history
Commit 7b9584f ("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: 7b9584f ("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>
  • Loading branch information
Kai-Heng Feng authored and Takashi Iwai committed Jul 18, 2019
1 parent 59d81c1 commit 70256b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/usb/line6/podhd.c
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,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,
Expand Down

0 comments on commit 70256b4

Please sign in to comment.