aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound/rawmidi.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-02-19 11:18:10 +0100
committerTakashi Iwai <tiwai@suse.de>2014-02-19 11:20:32 +0100
commitb203dbab0838afa4b2de8b5bd880fb124446b764 (patch)
tree02a8fc1f6f0323b6aa04fb1f4d944dca10a03e84 /include/sound/rawmidi.h
parentALSA: hda - Add QEMU codec vendor ID (diff)
downloadlinux-dev-b203dbab0838afa4b2de8b5bd880fb124446b764.tar.xz
linux-dev-b203dbab0838afa4b2de8b5bd880fb124446b764.zip
ALSA: core: Fix missing card sysfs contents
While moving the card device into struct snd_card, the reference to the assigned card in sysfs show/store callbacks were forgotten to be refreshed, still accessing to the no longer used drvdata. Fix these places to refer correctly via container_of(). Also, remove the superfluous NULL checks since it's guaranteed to be non-NULL now. Fixes: 8bfb181c17d2 ('ALSA: Embed card device into struct snd_card') Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound/rawmidi.h')
0 files changed, 0 insertions, 0 deletions