From: root <root@yes-desktop.(none)>
Date: Mon, 26 Jul 2010 06:54:43 +0000 (+0800)
Subject: Correct wm8994 codec resume error
X-Git-Tag: firefly_0821_release~11344
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=572cdaccf7239e255e2dc7feb1cbba39cf9bb58f;p=firefly-linux-kernel-4.4.55.git

Correct wm8994 codec resume error
---

diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c
index 28b8c45eb10b..343788b3aa90 100755
--- a/sound/soc/codecs/wm8994.c
+++ b/sound/soc/codecs/wm8994.c
@@ -2218,6 +2218,10 @@ static int wm8994_resume(struct platform_device *pdev)
 		wm8994_fnc_ptr+=wm8994_mode;
 		(*wm8994_fnc_ptr)() ;
 	}
+	else if(wm8994_mode>wm8994_BT_PCMBaseband_and_record)
+	{
+		printk("%s--%d--: Wm8994 resume with null mode\n",__FUNCTION__,__LINE__);
+	}
 	else
 	{
 		wm8994_fnc_ptr+=wm8994_mode;