]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm: Fix pcm_class sysfs output
authorTakashi Iwai <tiwai@suse.de>
Tue, 23 Jun 2015 09:56:22 +0000 (11:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 23 Jun 2015 09:56:22 +0000 (11:56 +0200)
commitbde81d801968e207d2ffb966ec3220d7350bb00b
tree0912aa23b905221cedb19f7956b228f99766e06f
parenteccbfa0eac90a82174f8809750b92cc2565e011b
ALSA: pcm: Fix pcm_class sysfs output

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: 54c710bdd80e ('ALSA: pcm: Embed struct device')
Cc: <stable@vger.kernel.org> # v4.0+
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm.c