From: Mark Brown Date: Mon, 12 Mar 2012 14:07:49 +0000 (+0000) Subject: ASoC: jack: Push locking for jacks down to the jack X-Git-Tag: v3.5-rc1~118^2~3^2~196 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2667b4b8bef8598917adb1b4af46ed2b7d4fa0d7;p=pandora-kernel.git ASoC: jack: Push locking for jacks down to the jack Currently operations on jack reporting take the CODEC mutex both to protect the current jack status and also to protect the DAPM run which is triggered on status updates. Since the addition of a DAPM-specific lock we no longer need to worry about locking DAPM as it has its own finer grained lock so create a per jack lock to take care of the jack status. This is both cleaner where the jack isn't specifically associated with a CODEC and clearer as it's much more obvious what the lock is protecting. Signed-off-by: Mark Brown --- Reading git-diff-tree failed