diff mbox series

drm/bridge: sii902x: Select SND_SOC_HDMI_CODEC if SND_SOC is configured

Message ID 20191129152342.29145-1-jsarha@ti.com (mailing list archive)
State New, archived
Headers show
Series drm/bridge: sii902x: Select SND_SOC_HDMI_CODEC if SND_SOC is configured | expand

Commit Message

Jyri Sarha Nov. 29, 2019, 3:23 p.m. UTC
To enable HDMI audio the SND_SOC_HDMI_CODEC needs to be
configured. Enable HDMI audio by selecting SND_SOC_HDMI_CODEC if
SND_SOC is configured. SND_SOC_HDMI_CODEC has no config menu entry and
should be selected atomatically by the drivers using it.

Signed-off-by: Jyri Sarha <jsarha@ti.com>
---
 drivers/gpu/drm/bridge/Kconfig | 1 +
 1 file changed, 1 insertion(+)

Comments

Tomi Valkeinen Feb. 10, 2020, 8:08 a.m. UTC | #1
On 29/11/2019 17:23, Jyri Sarha wrote:
> To enable HDMI audio the SND_SOC_HDMI_CODEC needs to be
> configured. Enable HDMI audio by selecting SND_SOC_HDMI_CODEC if
> SND_SOC is configured. SND_SOC_HDMI_CODEC has no config menu entry and
> should be selected atomatically by the drivers using it.
> 
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> ---
>   drivers/gpu/drm/bridge/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
> index 26ff07ad287b..0a60a56ce6dc 100644
> --- a/drivers/gpu/drm/bridge/Kconfig
> +++ b/drivers/gpu/drm/bridge/Kconfig
> @@ -118,6 +118,7 @@ config DRM_SII902X
>   	select DRM_KMS_HELPER
>   	select REGMAP_I2C
>   	select I2C_MUX
> +	select SND_SOC_HDMI_CODEC if SND_SOC
>   	---help---
>   	  Silicon Image sii902x bridge chip driver.
>   
> 

Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>

  Tomi
Peter Ujfalusi Feb. 10, 2020, 8:12 a.m. UTC | #2
On 29/11/2019 17.23, Jyri Sarha wrote:
> To enable HDMI audio the SND_SOC_HDMI_CODEC needs to be
> configured. Enable HDMI audio by selecting SND_SOC_HDMI_CODEC if
> SND_SOC is configured. SND_SOC_HDMI_CODEC has no config menu entry and
> should be selected atomatically by the drivers using it.

Reviewed-by: Peter Ujfalusi <peter.ujfalusi@ti.com>

> 
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> ---
>  drivers/gpu/drm/bridge/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
> index 26ff07ad287b..0a60a56ce6dc 100644
> --- a/drivers/gpu/drm/bridge/Kconfig
> +++ b/drivers/gpu/drm/bridge/Kconfig
> @@ -118,6 +118,7 @@ config DRM_SII902X
>  	select DRM_KMS_HELPER
>  	select REGMAP_I2C
>  	select I2C_MUX
> +	select SND_SOC_HDMI_CODEC if SND_SOC
>  	---help---
>  	  Silicon Image sii902x bridge chip driver.
>  
> 

- Péter

Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki
Neil Armstrong Feb. 10, 2020, 9:52 a.m. UTC | #3
On 29/11/2019 16:23, Jyri Sarha wrote:
> To enable HDMI audio the SND_SOC_HDMI_CODEC needs to be
> configured. Enable HDMI audio by selecting SND_SOC_HDMI_CODEC if
> SND_SOC is configured. SND_SOC_HDMI_CODEC has no config menu entry and
> should be selected atomatically by the drivers using it.
> 
> Signed-off-by: Jyri Sarha <jsarha@ti.com>
> ---
>  drivers/gpu/drm/bridge/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
> index 26ff07ad287b..0a60a56ce6dc 100644
> --- a/drivers/gpu/drm/bridge/Kconfig
> +++ b/drivers/gpu/drm/bridge/Kconfig
> @@ -118,6 +118,7 @@ config DRM_SII902X
>  	select DRM_KMS_HELPER
>  	select REGMAP_I2C
>  	select I2C_MUX
> +	select SND_SOC_HDMI_CODEC if SND_SOC
>  	---help---
>  	  Silicon Image sii902x bridge chip driver.
>  
> 

Applied to drm-misc-next

Neil
diff mbox series

Patch

diff --git a/drivers/gpu/drm/bridge/Kconfig b/drivers/gpu/drm/bridge/Kconfig
index 26ff07ad287b..0a60a56ce6dc 100644
--- a/drivers/gpu/drm/bridge/Kconfig
+++ b/drivers/gpu/drm/bridge/Kconfig
@@ -118,6 +118,7 @@  config DRM_SII902X
 	select DRM_KMS_HELPER
 	select REGMAP_I2C
 	select I2C_MUX
+	select SND_SOC_HDMI_CODEC if SND_SOC
 	---help---
 	  Silicon Image sii902x bridge chip driver.