From: Mark Brown Date: Fri, 4 Feb 2011 14:57:43 +0000 (+0000) Subject: mfd: Don't suspend WM8994 if the CODEC is not suspended X-Git-Tag: v2.6.38-rc8~37^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77bd70e9009eab6dbdef3ee08afe87ab26df8dac;p=pandora-kernel.git mfd: Don't suspend WM8994 if the CODEC is not suspended ASoC supports keeping the audio subsysetm active over suspend in order to support use cases such as audio passthrough from a cellular modem with the main CPU suspended. Ensure that we don't power down the CODEC when this is happening by checking to see if VMID is up and skipping suspend and resume when it is. If the CODEC has suspended then it'll turn VMID off before the core suspend() gets called. Signed-off-by: Mark Brown Signed-off-by: Samuel Ortiz --- Reading git-diff-tree failed