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

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

ASoC: sgtl5000: Fix up define for SGTL5000_SMALL_POP



Currently, below code actually does not update any bit because
SGTL5000_SMALL_POP is 0.

snd_soc_update_bits(codec, SGTL5000_CHIP_REF_CTRL, SGTL5000_SMALL_POP, 1);

The SGTL5000_SMALL_POP should be BIT(0) rather than 0, fix it.

Signed-off-by: default avatarAxel Lin <axel.lin@ingics.com>
Acked-By: default avatarAlexander Stein <alexander.stein@systec-electronic.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent bc0195aa
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -275,7 +275,7 @@
#define SGTL5000_BIAS_CTRL_MASK			0x000e
#define SGTL5000_BIAS_CTRL_MASK			0x000e
#define SGTL5000_BIAS_CTRL_SHIFT		1
#define SGTL5000_BIAS_CTRL_SHIFT		1
#define SGTL5000_BIAS_CTRL_WIDTH		3
#define SGTL5000_BIAS_CTRL_WIDTH		3
#define SGTL5000_SMALL_POP			0
#define SGTL5000_SMALL_POP			1


/*
/*
 * SGTL5000_CHIP_MIC_CTRL
 * SGTL5000_CHIP_MIC_CTRL