mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
ALSA: line6: Fix POD sysfs attributes segfault
commitb027d11263upstream. The commit02fc76f6achanged base of the sysfs attributes from device to card. The "show" callbacks dereferenced wrong objects because of this. Fixes:02fc76f6a7('ALSA: line6: Create sysfs via snd_card_add_dev_attr()') Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Andrej Krutak <dev@andree.sk> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d21befeb0d
commit
a2d9e40c8f
1 changed files with 6 additions and 6 deletions
Loading…
Add table
Add a link
Reference in a new issue