All of lore.kernel.org
 help / color / mirror / Atom feed
* Unregister a card from userspace?
@ 2015-11-04  9:36 Ricard Wanderlof
  2015-11-04 11:24 ` Clemens Ladisch
  2015-11-09 11:24 ` Felipe Ferreri Tonello
  0 siblings, 2 replies; 15+ messages in thread
From: Ricard Wanderlof @ 2015-11-04  9:36 UTC (permalink / raw)
  To: alsa-devel


A sound card driver would normally call snd_soc_register_card() to 
register its sound card with ALSA.

Is there some way to unregister the card from userspace?

My use case is that I have a card driver I'm working on as a module, and 
while insmodding it works fine, I can't rmmod it because once 
snd_soc_register_card() has been called, it has a usage count of 2 and 
thus cannot be rmmod:ed.

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30

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

end of thread, other threads:[~2015-11-12 15:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-04  9:36 Unregister a card from userspace? Ricard Wanderlof
2015-11-04 11:24 ` Clemens Ladisch
2015-11-12 13:07   ` Ricard Wanderlof
2015-11-12 13:26     ` Lars-Peter Clausen
2015-11-12 15:38       ` Ricard Wanderlof
2015-11-09 11:24 ` Felipe Ferreri Tonello
2015-11-10  7:55   ` Ricard Wanderlof
2015-11-11 10:34     ` Felipe Ferreri Tonello
2015-11-11 12:59       ` Ricard Wanderlof
2015-11-11 13:09         ` Lars-Peter Clausen
2015-11-11 15:24           ` Ricard Wanderlof
2015-11-11 14:50         ` Felipe Ferreri Tonello
2015-11-11 15:33           ` Ricard Wanderlof
2015-11-12 10:31             ` Felipe Ferreri Tonello
2015-11-12 14:02               ` Ricard Wanderlof

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.