[PATCH] drm: dw-hdmi: Fix compilation breakage by selecting REGMAP_MMIO

Archit Taneja architt at codeaurora.org
Sun Jun 11 06:20:59 UTC 2017



On 6/10/2017 2:29 PM, Laurent Pinchart wrote:
> The dw-hdmi driver switched to regmap-mmio, but lacks the dependency in
> Kconfig. This can result in compilation breakages. Fix it by selecting
> REGMAP_MMIO.
> 
> Fixes: 80e2f97968b5 ("drm: bridge: dw-hdmi: Switch to regmap for register access")
> Reported-by: kbuild test robot <fengguang.wu at intel.com>
> Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas at ideasonboard.com>
> ---
>   drivers/gpu/drm/bridge/synopsys/Kconfig | 1 +
>   1 file changed, 1 insertion(+)
> 
> Archit,
> 
> This is a v4.12 regression fix. While not super critical, it would be
> nice if it could get merged in v4.12.

Sean,

Would you be fine with another drm-misc-fixes pull req? It looks like
we have a drm_of_find_panel_or_bridge() usage on imx which needs fixing
too. If so, I can queue this to drm-misc-fixes.

Thanks,
Archit

> 
> diff --git a/drivers/gpu/drm/bridge/synopsys/Kconfig b/drivers/gpu/drm/bridge/synopsys/Kconfig
> index 40d2827a6d19..53e78d092d18 100644
> --- a/drivers/gpu/drm/bridge/synopsys/Kconfig
> +++ b/drivers/gpu/drm/bridge/synopsys/Kconfig
> @@ -1,6 +1,7 @@
>   config DRM_DW_HDMI
>   	tristate
>   	select DRM_KMS_HELPER
> +	select REGMAP_MMIO
>   
>   config DRM_DW_HDMI_AHB_AUDIO
>   	tristate "Synopsys Designware AHB Audio interface"
> 

-- 
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
hosted by The Linux Foundation


More information about the dri-devel mailing list