1. Feb 26, 2014
  2. Feb 25, 2014
  3. Feb 21, 2014
  4. Feb 19, 2014
    • Takashi Iwai's avatar
      ALSA: core: Fix missing card sysfs contents · b203dbab
      Takashi Iwai authored
      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: 8bfb181c
      
       ('ALSA: Embed card device into struct snd_card')
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      b203dbab