diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-19 11:18:10 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-19 11:20:32 +0100 |
commit | b203dbab0838afa4b2de8b5bd880fb124446b764 (patch) | |
tree | 02a8fc1f6f0323b6aa04fb1f4d944dca10a03e84 /include/sound/rawmidi.h | |
parent | dff86f86d43f17db8616d06f4150c8957d33864b (diff) | |
download | linux-b203dbab0838afa4b2de8b5bd880fb124446b764.tar.gz linux-b203dbab0838afa4b2de8b5bd880fb124446b764.tar.bz2 linux-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