ASoC: max98925: Fix mask for setting DAI invert mode

The M98925_DAI_WCI_MASK bit is not updated with current code.
To properly set the DAI invert mode, the mask should be
M98925_DAI_BCI_MASK | M98925_DAI_WCI_MASK.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
This commit is contained in:
Axel Lin 2015-05-26 20:35:08 +08:00 коммит произвёл Mark Brown
Родитель b787f68c36
Коммит 0b51601d45
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -346,7 +346,7 @@ static int max98925_dai_set_fmt(struct snd_soc_dai *codec_dai,
}
regmap_update_bits(max98925->regmap, MAX98925_FORMAT,
M98925_DAI_BCI_MASK, invert);
M98925_DAI_BCI_MASK | M98925_DAI_WCI_MASK, invert);
return 0;
}