[PATCH] drm/sti: select CEC_CORE if CEC_NOTIFIER

Benjamin Gaignard benjamin.gaignard at linaro.org
Mon Jul 17 14:53:55 UTC 2017


2017-07-17 13:50 GMT+02:00 Hans Verkuil <hverkuil at xs4all.nl>:
> If the stih-cec driver is a module and the drm sti driver is built-in, then
> the CEC core will be a module also, causing the CEC notifier to fail (will be
> compiled as empty functions).
>
> To prevent this select CEC_CORE if CEC_NOTIFIER is set to ensure the CEC core
> is also built into the kernel.
>
> Signed-off-by: Hans Verkuil <hans.verkuil at cisco.com>

Thanks,

Acked-by: Benjamin Gaignard <benjamin.gaignard at linaro.org>

> ---
> diff --git a/drivers/gpu/drm/sti/Kconfig b/drivers/gpu/drm/sti/Kconfig
> index acd72865feac..0eab3cb59fc5 100644
> --- a/drivers/gpu/drm/sti/Kconfig
> +++ b/drivers/gpu/drm/sti/Kconfig
> @@ -8,5 +8,6 @@ config DRM_STI
>         select DRM_PANEL
>         select FW_LOADER
>         select SND_SOC_HDMI_CODEC if SND_SOC
> +       select CEC_CORE if CEC_NOTIFIER
>         help
>           Choose this option to enable DRM on STM stiH4xx chipset



-- 
Benjamin Gaignard

Graphic Study Group

Linaro.org │ Open source software for ARM SoCs

Follow Linaro: Facebook | Twitter | Blog


More information about the dri-devel mailing list