From: Dimitris Papastamos Date: Wed, 16 Mar 2011 12:16:39 +0000 (+0000) Subject: ALSA: Add snd_ctl_replace() to dynamically replace a control X-Git-Tag: v3.0-rc1~347^2~2^2~55 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66b5b9722b8743f83d4c3f11f39665f5f2c40b12;p=pandora-kernel.git ALSA: Add snd_ctl_replace() to dynamically replace a control 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed