ASoC: rockchip: rk3288-hdmi-analog: Select needed codecs
authorEzequiel Garcia <ezequiel@collabora.co.uk>
Tue, 20 Mar 2018 16:03:31 +0000 (13:03 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 May 2018 14:17:51 +0000 (16:17 +0200)
[ Upstream commit b1d0db067fbe2598d62b248beea5d705a0ea7642 ]

The driver does not select all the codec drivers that needs.
Fix it by selecting the analog and HDMI codecs.

Cc: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Ezequiel Garcia <ezequiel@collabora.co.uk>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/soc/rockchip/Kconfig

index b0825370d262f43730a9e96afd8a6d8239579797..957046ac6c8ca1438dde183a0382489f5ccd8ef8 100644 (file)
@@ -56,6 +56,9 @@ config SND_SOC_RK3288_HDMI_ANALOG
        depends on SND_SOC_ROCKCHIP && I2C && GPIOLIB && CLKDEV_LOOKUP
        select SND_SOC_ROCKCHIP_I2S
        select SND_SOC_HDMI_CODEC
+       select SND_SOC_ES8328_I2C
+       select SND_SOC_ES8328_SPI if SPI_MASTER
+       select DRM_DW_HDMI_I2S_AUDIO if DRM_DW_HDMI
        help
          Say Y or M here if you want to add support for SoC audio on Rockchip
          RK3288 boards using an analog output and the built-in HDMI audio.