From: Lars-Peter Clausen Date: Mon, 29 Dec 2014 17:43:36 +0000 (+0100) Subject: ALSA: Fix handling of multiple msbits constraints on the same runtime X-Git-Tag: fixes-v4.0-rc1~146^2~105^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19f52fae5adb7f2fd5b75251f9bd761f43a36476;p=pandora-kernel.git ALSA: Fix handling of multiple msbits constraints on the same runtime If the sound card is made up of discrete components, each with their own driver (e.g. like in the ASoC case), we might end up with multiple msbits constraint rules installed. Currently this will result in msbits being set to whatever the last rule set it to. This patch updates the behavior of the rule to choose the minimum (other than zero) of all the installed rules. Signed-off-by: Lars-Peter Clausen Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed