Re: [PATCH] reset: eswin: eic7700: select REGMAP_MMIO

From: Philipp Zabel

Date: Tue Dec 01 2026 - 03:43:34 EST


On Mo, 2026-11-30 at 21:18 +0800, Pengpeng Hou wrote:
> reset-eic7700.c initializes an MMIO regmap using
> devm_regmap_init_mmio(), but RESET_EIC7700 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: 0884bd97c08c ("reset: eswin: Add eic7700 reset driver")
> Signed-off-by: Pengpeng Hou <hppiscas@xxxxxxx>

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

regards
Philipp