Re: [PATCH] reset: scmi: Set the device for the reset controller

From: Sudeep Holla

Date: Fri Oct 02 2026 - 04:55:09 EST


On Fri, Oct 02, 2026 at 05:41:42PM +0900, Kunihiko Hayashi wrote:
> SCMI reset driver does not set rcdev.dev when registering its reset
> controller.
>
> If rcdev.of_node is not available, the reset core tries to obtain
> the firmware node from rcdev.dev. However, rcdev.dev is also NULL,
> causing a NULL pointer dereference.
>
> Set rcdev.dev to the SCMI device.
>

Reviewed-by: Sudeep Holla <sudeep.holla@xxxxxxxxxx>

Worth adding fixes tag IMO

Fixes: c8ae9c2da1cc ("reset: Add support for resets provided by SCMI")

Hi Philipp,

Can you please take this in your next round of fixes and/or updates ?

--
Regards,
Sudeep