[PATCH] media: imx-pxp: select REGMAP_MMIO
Philipp Zabel
p.zabel at pengutronix.de
Tue Dec 1 00:25:30 PST 2026
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 at 163.com>
Reviewed-by: Philipp Zabel <p.zabel at pengutronix.de>
regards
Philipp
More information about the linux-arm-kernel
mailing list