* Unregister and register the sound card
@ 2012-07-26 5:48 Bharath Ramachandramurthy
0 siblings, 0 replies; 2+ messages in thread
From: Bharath Ramachandramurthy @ 2012-07-26 5:48 UTC (permalink / raw)
To: alsa-devel, alsa-devel-bounces
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Unregister and register the sound card
@ 2012-07-26 5:42 Bharath Ramachandramurthy
0 siblings, 0 replies; 2+ messages in thread
From: Bharath Ramachandramurthy @ 2012-07-26 5:42 UTC (permalink / raw)
To: alsa-devel-bounces, alsa-devel
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-26 5:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-26 5:48 Unregister and register the sound card Bharath Ramachandramurthy
-- strict thread matches above, loose matches on Subject: below --
2012-07-26 5:42 Bharath Ramachandramurthy
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).