Re: [PATCH] media: imx-pxp: select REGMAP_MMIO

From: Philipp Zabel

Date: Tue Dec 01 2026 - 03:25:41 EST


On Mo, 2026-11-30 at 21:29 +0800, Pengpeng Hou wrote:
> imx-pxp.c initializes an MMIO regmap using devm_regmap_init_mmio(),
> but VIDEO_IMX_PXP does not select REGMAP_MMIO. The driver can
> therefore be enabled without the required register-transport
> implementation and fail to build.
>
> Select REGMAP_MMIO so the backend is enabled at the linkage level
> required by this consumer, rather than relying on another driver to
> pull it in.
>
> The issue was found by our static-analysis tool and manually reviewed.
>
> Fixes: 4e5bd3fdbeb3 ("media: imx-pxp: convert to regmap")
> Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>

Reviewed-by: Philipp Zabel <p.zabel@xxxxxxxxxxxxxx>

regards
Philipp