[alsa-devel] bug: reconfig broken on kernel 4.5

Jochen Henneberg jh at henneberg-systemdesign.com
Mon May 9 10:22:49 CEST 2016


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



More information about the Alsa-devel mailing list