ALSA: core: release the constraint check for replace ops
commit08ede038a738f22c1b3425051175e1d627d8dd43
authorLu Guanqun <guanqun.lu@intel.com>
Wed, 24 Aug 2011 06:45:10 +0000 (24 14:45 +0800)
committerTakashi Iwai <tiwai@suse.de>
Wed, 24 Aug 2011 08:22:43 +0000 (24 10:22 +0200)
tree84cadd30322f1c68fcfbbb869cb8bf8f9447989c
parent983929cafc4225d61f50b3e35cf892606a15bc69
ALSA: core: release the constraint check for replace ops

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.

Signed-off-by: Lu Guanqun <guanqun.lu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/control.c