All of lore.kernel.org
 help / color / mirror / Atom feed
* bug: reconfig broken on kernel 4.5
@ 2016-05-09  8:22 Jochen Henneberg
  2016-05-09 14:11 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Jochen Henneberg @ 2016-05-09  8:22 UTC (permalink / raw)
  To: alsa-devel

Hi,

it looks as if 'reconfig' feature is broken since the sysfs attributes
have been moved to device attributes. In hda_sysfs.c:reconfig_codec()
the device is cleared with snd_hda_codec_reset() which calls
snd_hdac_device_unregister() which removes the sysfs entries (including
the currently in-use 'reconfig'), the re-registration fails afterwards
in snd_hda_codec_build_controls().
I am not sure when things got broken, but snd_hda_codec_reset()
called from reconfig_codec() unregisters the device and removes the
sysfs entries where in the past it only stripped all configurations
(pcms, controls ...) from the device.

Regards,
Jochen

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-05-10 10:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-09  8:22 bug: reconfig broken on kernel 4.5 Jochen Henneberg
2016-05-09 14:11 ` Takashi Iwai
2016-05-10  8:36   ` Takashi Iwai
2016-05-10  9:47     ` Jochen Henneberg
2016-05-10 10:15       ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.