commit | b027d11263836a0cd335520175257dcb99b43757 | [log] [tgz] |
---|---|---|
author | Andrej Krutak <dev@andree.sk> | Thu Aug 18 23:52:12 2016 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Aug 22 11:37:31 2016 +0200 |
tree | 05d4f85a9f8f95effe0aa827cb70c2ac2599e057 | |
parent | adc8a43a6d6688272ebffa81789fa857e603dec6 [diff] |
ALSA: line6: Fix POD sysfs attributes segfault The commit 02fc76f6a changed base of the sysfs attributes from device to card. The "show" callbacks dereferenced wrong objects because of this. Fixes: 02fc76f6a7db ('ALSA: line6: Create sysfs via snd_card_add_dev_attr()') Cc: <stable@vger.kernel.org> # v4.0+ Reviewed-by: Stefan Hajnoczi <stefanha@gmail.com> Signed-off-by: Andrej Krutak <dev@andree.sk> Signed-off-by: Takashi Iwai <tiwai@suse.de>