All of lore.kernel.org
 help / color / mirror / Atom feed
* ASoC: auto-loading board-specific modules
@ 2011-09-07 22:16 Mans Rullgard
  2011-09-07 22:35 ` Mark Brown
  0 siblings, 1 reply; 4+ messages in thread
From: Mans Rullgard @ 2011-09-07 22:16 UTC (permalink / raw)
  To: alsa-devel

Currently in ASoC, there is for each supported board a module describing the
board-specific DAI links by creating a "soc-audio" platform device with an
associated struct snd_soc_card.

The problem with this is that these modules are not automatically loaded
by udev (or other device-scanning mechanisms) so some intervention is
required before sound will work.

I can think of a few different ways to make everything happen automatically:

1. Build the board-specific bits into the platform modules which are
   already loaded as platform drivers.

2. Create another platform device whose only function is to cause the board
   modules to be loaded.

3. Something entirely different.

Someone had a recollection of the current scheme being introduced as a
"temporary" solution a couple of years ago, in which case it is about
time it got fixed.

I'd appreciate some input on which direction to pursue this before spending
time on a potentially inappropriate solution.

--
Mans Rullgard
Multimedia
mans.rullgard@linaro.org

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

end of thread, other threads:[~2011-09-08  7:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-07 22:16 ASoC: auto-loading board-specific modules Mans Rullgard
2011-09-07 22:35 ` Mark Brown
2011-09-07 23:37   ` Mans Rullgard
2011-09-08  7:44     ` Mark Brown

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.