ASoC: wm8985: add support for WM8758
authorPetr Kulhavy <petr@barix.com>
Thu, 26 May 2016 20:19:16 +0000 (22:19 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 30 May 2016 15:25:36 +0000 (16:25 +0100)
commit811e66de2241e249bad03a9e9681d3ac68b07ec3
treeb39f642d460669662d5cf10632131b2e67653ca7
parent68f9eac356a1e9dd3980de3807ad81a83eff4c9e
ASoC: wm8985: add support for WM8758

The WM8758 chip is almost identical to WM8985 with the difference that it
doesn't feature the AUX input. This patch adds the WM8758 support into the
WM8985 driver.

The chip selection is done by the I2C name. The SPI probe supports only
the WM8985.

Signed-off-by: Petr Kulhavy <petr@barix.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig
sound/soc/codecs/wm8985.c