• Takashi Iwai's avatar
    ALSA: pcm: Fix pcm_class sysfs output · 60b93030
    Takashi Iwai authored
    The pcm_class sysfs of each PCM substream gives only "none" since the
    recent code change to embed the struct device.  Fix the code to point
    directly to the embedded device object properly.
    
    Fixes: ef46c7af ('ALSA: pcm: Embed struct device')
    Cc: <stable@vger.kernel.org> # v4.0+
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    60b93030
pcm.c 34.4 KB