[alsa-devel] [PATCH 2/3] ALSA: core: release the constraint check for replace ops

Lu Guanqun guanqun.lu at intel.com
Wed Aug 24 08:08:54 CEST 2011


On Wed, Aug 24, 2011 at 02:01:08PM +0800, Takashi Iwai wrote:
> At Wed, 24 Aug 2011 11:12:39 +0800,
> Lu Guanqun wrote:
> > 
> > Suppose the ALSA card already has a number of MAX_USER_CONTROLS controls, and
> > the user wants to replace one, it should not fail at this condition check.
> 
> It'd be simpler to ignore the check when replace flag is set?
> The proposed change here looks too tricky, IMO...

Agreed. I'll cook another one.

-- 
guanqun


More information about the Alsa-devel mailing list