From: "Bharath Ramachandramurthy" <bramacha@codeaurora.org>
To: alsa-devel@alsa-project.org, alsa-devel-bounces@alsa-project.org
Subject: Unregister and register the sound card
Date: Wed, 25 Jul 2012 22:48:50 -0700 [thread overview]
Message-ID: <003201cd6af2$55879070$0096b150$@codeaurora.org> (raw)
Hi
After the kernel has booted up and sound card detection is also fine, if
there is a requirement
To unregister the sound card and re-register it back to ALSA SOC framework,
what is the recommendation,
Especially when platform, codec & cpu dai drivers are registering with ALSA
framework only at bootime ?
Am noticing that when sound card is
unregistered(platform_device_unregister), all dai links gets deregistered
(pls note the driver is not removed from kernel, only the device is removed
from alsa framework)
but when I try to add the same using platform_device_add(soc-audio),
observe that dai links registration doesn't go thru fine as the cpu dais are
not re-registered back to ALSA framework.
This is because the probes of the cpu dais weren't called as it was not
never unregistered with the kernel.
What is the best way to overcome this pbm ?
Thanks
Bharath
next reply other threads:[~2012-07-26 5:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-26 5:48 Bharath Ramachandramurthy [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-07-26 5:42 Unregister and register the sound card Bharath Ramachandramurthy
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='003201cd6af2$55879070$0096b150$@codeaurora.org' \
--to=bramacha@codeaurora.org \
--cc=alsa-devel-bounces@alsa-project.org \
--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;
as well as URLs for NNTP newsgroup(s).