Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec12693e authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

ASoC: cs4349: Fix up setting PWR_DWN bit



The PWR_DWN is Bit 7, so current code does not set the PWR_DWN bit. Fix it.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 6a75c0b6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -326,7 +326,7 @@ static int cs4349_runtime_suspend(struct device *dev)
	struct cs4349_private *cs4349 = dev_get_drvdata(dev);
	int ret;

	ret = regmap_update_bits(cs4349->regmap, CS4349_MISC, PWR_DWN, 1);
	ret = regmap_update_bits(cs4349->regmap, CS4349_MISC, PWR_DWN, PWR_DWN);
	if (ret < 0)
		return ret;