diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-02-19 14:18:10 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-02-19 14:20:32 +0400 |
commit | b203dbab0838afa4b2de8b5bd880fb124446b764 (patch) | |
tree | 02a8fc1f6f0323b6aa04fb1f4d944dca10a03e84 /include/sound | |
parent | dff86f86d43f17db8616d06f4150c8957d33864b (diff) | |
download | linux-b203dbab0838afa4b2de8b5bd880fb124446b764.tar.xz |
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')
0 files changed, 0 insertions, 0 deletions