Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Jochen Henneberg <jh@henneberg-systemdesign.com>
To: alsa-devel <alsa-devel@alsa-project.org>
Subject: bug: reconfig broken on kernel 4.5
Date: Mon, 09 May 2016 10:22:49 +0200	[thread overview]
Message-ID: <1462782169.3239.12.camel@maxwell> (raw)

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

             reply	other threads:[~2016-05-09  8:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-09  8:22 Jochen Henneberg [this message]
2016-05-09 14:11 ` bug: reconfig broken on kernel 4.5 Takashi Iwai
2016-05-10  8:36   ` Takashi Iwai
2016-05-10  9:47     ` Jochen Henneberg
2016-05-10 10:15       ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1462782169.3239.12.camel@maxwell \
    --to=jh@henneberg-systemdesign.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox