From: Liam Girdwood Date: Wed, 7 Mar 2012 10:38:25 +0000 (+0000) Subject: ASoC: core: Add card mutex locking subclasses X-Git-Tag: v3.5-rc1~118^2~3^2~208 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01b9d99a1f45befa604543ead29f44fdb0878844;p=pandora-kernel.git ASoC: core: Add card mutex locking subclasses This is the first part of a change that is intended to improve ASoC locking protection for DAPM and PCM operations. This part of the series adds a mutex class for the soc_card mutex. The SND_SOC_CARD_CLASS_INIT class is used for card initialisation only whilst the SND_SOC_CARD_CLASS_PCM class is used for the forth coming Dynamic PCM operations. The new mutex classes are required otherwise we will see a false positive mutex deadlock warning between the card initialisation and the PCM operations (something that would never deadlock in real life). Signed-off-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed