From: Chuansheng Liu Date: Fri, 21 Dec 2012 10:17:12 +0000 (+0800) Subject: ASoC: core: giving WARN when device starting from non-off bias with idle_bias_off X-Git-Tag: v3.9-rc1~129^2~24^2~22^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff541f4b2a7546ffa8edf123f4b3b49bb24574e2;p=pandora-kernel.git ASoC: core: giving WARN when device starting from non-off bias with idle_bias_off Just found some cases that some codec drivers set the bias to _STANDBY and set idle_bias_off to 1 during probing. It will cause unpaired runtime_get_sync/put() issue. Also as Mark suggested, there is no reason to start from _STANDBY bias with idle_bias_off == 1. So here giving one warning when detected (dapm.idle_bias_off == 1) and (dapm.bias_level != SND_SOC_BIAS_OFF) just after driver->probe(). Signed-off-by: liu chuansheng Signed-off-by: Mark Brown --- Reading git-diff-tree failed