aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/sunxi/sun8i-codec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sunxi/sun8i-codec.c b/sound/soc/sunxi/sun8i-codec.c
index 038107baf414..c2ceca485d6a 100644
--- a/sound/soc/sunxi/sun8i-codec.c
+++ b/sound/soc/sunxi/sun8i-codec.c
@@ -199,7 +199,7 @@ static int sun8i_set_fmt(struct snd_soc_dai *dai, unsigned int fmt)
199 value << SUN8I_AIF1CLK_CTRL_AIF1_BCLK_INV); 199 value << SUN8I_AIF1CLK_CTRL_AIF1_BCLK_INV);
200 regmap_update_bits(scodec->regmap, SUN8I_AIF1CLK_CTRL, 200 regmap_update_bits(scodec->regmap, SUN8I_AIF1CLK_CTRL,
201 BIT(SUN8I_AIF1CLK_CTRL_AIF1_LRCK_INV), 201 BIT(SUN8I_AIF1CLK_CTRL_AIF1_LRCK_INV),
202 value << SUN8I_AIF1CLK_CTRL_AIF1_LRCK_INV); 202 !value << SUN8I_AIF1CLK_CTRL_AIF1_LRCK_INV);
203 203
204 /* DAI format */ 204 /* DAI format */
205 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) { 205 switch (fmt & SND_SOC_DAIFMT_FORMAT_MASK) {