diff options
author | Takashi Iwai <tiwai@suse.de> | 2020-04-07 11:44:02 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2020-04-07 17:43:46 +0300 |
commit | c47914c00be346bc5b48c48de7b0da5c2d1a296c (patch) | |
tree | 9c7f1ab51167e25df9d55bc20e5df2f452b7e7ac /.cocciconfig | |
parent | 0ad3f0b384d58f3bd1f4fb87d0af5b8f6866f41a (diff) | |
download | linux-c47914c00be346bc5b48c48de7b0da5c2d1a296c.tar.xz |
ALSA: ice1724: Fix invalid access for enumerated ctl items
The access to Analog Capture Source control value implemented in
prodigy_hifi.c is wrong, as caught by the recently introduced sanity
check; it should be accessing value.enumerated.item[] instead of
value.integer.value[]. This patch corrects the wrong access pattern.
Fixes: 6b8d6e5518e2 ("[ALSA] ICE1724: Added support for Audiotrak Prodigy 7.1 HiFi & HD2, Hercules Fortissimo IV")
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=207139
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20200407084402.25589-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions