VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> 2021-06-07 17:22:29 -0500 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-07-14 17:07:36 +0200 commit: b4b4f4c0df1f1b64960e99cf878ae7c18a3304bb parent: d2d2558c19201a3f46e7a9e65de2683027f6d0ad
Commit Summary:
ASoC: rt5682-sdw: use first_hw_init flag on resume
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/sound/soc/codecs/rt5682-sdw.c b/sound/soc/codecs/rt5682-sdw.c
index e78ba3b064c4..8e4bb9dd194e 100644
--- a/sound/soc/codecs/rt5682-sdw.c
+++ b/sound/soc/codecs/rt5682-sdw.c
@@ -743,7 +743,7 @@ static int __maybe_unused rt5682_dev_resume(struct device *dev)
 	struct rt5682_priv *rt5682 = dev_get_drvdata(dev);
 	unsigned long time;
 
-	if (!rt5682->hw_init)
+	if (!rt5682->first_hw_init)
 		return 0;
 
 	if (!slave->unattach_request)