[alsa-devel] [PATCH] ASoC: dapm: Add speaker driver widget.

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Dec 7 14:09:15 CET 2010


On Tue, Dec 07, 2010 at 12:46:28PM +0000, Liam Girdwood wrote:

> Ok, but by sharing the number we take away some flexibility in the
> sequence ordering. Say something has to be done in the machine driver
> _after_ the spk/haptic/vibra driver is enabled in the CODEC driver ?

You can say that for pretty much all of the widgets, though, including
the existing speaker and headphone widgets.  I'd be a bit surprised if
you had anything afterwards in this case, a driver is generally the high
power stage wired directly to the transducer.

> I dont actually see any major issue of using a new number here unless
> you have it reserved for something else ?

Adding a new number and renumbering all the subsequent ones wouldn't be
so bad, the patch wasn't doing that.


More information about the Alsa-devel mailing list