linux/sound/usb/line6
Andrej Krutak a2d9e40c8f ALSA: line6: Fix POD sysfs attributes segfault
commit b027d11263 upstream.

The commit 02fc76f6a changed 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>
History 2016-09-07 08:32:46 +02:00
..
capture.c ALSA: line6: Remove snd_line6_ prefix of pcm property fields 2015-01-28 20:54:47 +01:00
capture.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
driver.c ALSA: line6: Improve line6_read/write_data() interfaces 2015-02-12 11:07:48 +01:00
driver.h ALSA: line6: Improve line6_read/write_data() interfaces 2015-02-12 11:07:48 +01:00
Kconfig ALSA: line6/toneport: Implement LED controls via LED class 2015-01-28 07:20:08 +01:00
Makefile ALSA: line6: Reorganize card resource handling 2015-01-20 08:17:16 +01:00
midi.c ALSA: line6: Move the contents of usbdefs.h into driver.h 2015-01-28 20:54:45 +01:00
midi.h ALSA: line6: Tidy up and typo fixes in comments 2015-01-28 20:54:43 +01:00
midibuf.c ALSA: line6: Remove unused line6_midibuf_skip_message() 2015-02-01 09:35:25 +01:00
midibuf.h ALSA: line6: Remove unused line6_midibuf_skip_message() 2015-02-01 09:35:25 +01:00
pcm.c ALSA: line6: Give up on the lock while URBs are released. 2016-09-07 08:32:46 +02:00
pcm.h ALSA: line6: Remove snd_line6_ prefix of pcm property fields 2015-01-28 20:54:47 +01:00
playback.c ALSA: line6: Clamp values correctly 2015-03-05 13:03:28 +01:00
playback.h ALSA: line6: Reorganize PCM stream handling 2015-01-28 07:22:36 +01:00
pod.c ALSA: line6: Fix POD sysfs attributes segfault 2016-09-07 08:32:46 +02:00
podhd.c ALSA: line6: Pass driver name to line6_probe() 2015-02-08 09:07:07 +01:00
toneport.c ALSA: line6: toneport: Use explicit type for firmware version 2015-02-11 10:41:59 +01:00
variax.c ALSA: line6: Pass driver name to line6_probe() 2015-02-08 09:07:07 +01:00