]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - sound/soc/codecs/wm8994.c
ASoC: wm8994: Handle LRCLK inversion for WM8958 and WM1811A
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 May 2013 16:16:10 +0000 (11:16 -0500)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 20 May 2013 16:27:06 +0000 (11:27 -0500)
commit435705e89265dec3c641fe75deb748f05e232e59
tree0aa6ff61b1b8a32f3cab6c63dcdab8e3974f69d8
parent571ab6c6f38e44eca40098f58b28e5016c8dbc50
ASoC: wm8994: Handle LRCLK inversion for WM8958 and WM1811A

On WM8958 and WM1811A separate control of the LRCLK inversion bit is
available for the DAC and ADC LRCLKs which for compatibility reasons is
done in a new register bit.

Since writes to each scheme have no effect on parts using the other just
always write to both for simplicity.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Tested-by: Samreen Nilofer <samreen.nilofer@intel.com>
include/linux/mfd/wm8994/registers.h
sound/soc/codecs/wm8994.c