[alsa-devel] [PATCH 1/2 v4] ALSA: Add snd_ctl_replace() to dynamically replace a control

Dimitris Papastamos dp at opensource.wolfsonmicro.com
Tue Mar 22 16:35:07 CET 2011


On Tue, Mar 22, 2011 at 04:17:51PM +0100, Takashi Iwai wrote:
> At Wed, 16 Mar 2011 12:16:39 +0000,
> Dimitris Papastamos wrote:
> > 
> > Add a function to dynamically replace a given control.  If the
> > control does not already exist, a third parameter is used to determine
> > whether to actually add that control.  This is useful in cases where
> > downloadable firmware at runtime can add or replace existing controls.
> > A separate patch needs to be made to allow ALSA Mixer to render the
> > replaced controls on the fly.
> > 
> > Signed-off-by: Dimitris Papastamos <dp at opensource.wolfsonmicro.com>
> 
> Now I applied this one to topic/misc branch with slight coding-style
> fixes checkpatch complained.  But I didn't apply the patch for ASoC.

Hi,

The reason why I did not fix those was because I tried to match the
style of sound/core/control.c.

Thanks,
Dimitris


More information about the Alsa-devel mailing list