Hi Thilak,
On 9/7/2026 5:12 pm, Pranav Tilak wrote:
> [CAUTION: This email is from outside your organization. Unless you trust the
> sender, do not click on links or open attachments as it may be a fraudulent
> email attempting to steal your information and/or compromise your computer.]
>
> Treat -ENOENT and -ENOTSUPP from reset_get_bulk() as non-fatal to
> support platforms where no resets are defined in the DTS. The resets
> property is not yet documented in the DT binding.
>
> Fixes: 1009c96f1590 ("drivers: i3c: Add driver for MIPI DWI3C")
> Signed-off-by: Pranav Tilak <[email protected]>
> ---
> drivers/i3c/master/dw-i3c-master.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i3c/master/dw-i3c-master.c
> b/drivers/i3c/master/dw-i3c-master.c
> index 0c4af7e528a..c6ce54a1d3b 100644
> --- a/drivers/i3c/master/dw-i3c-master.c
> +++ b/drivers/i3c/master/dw-i3c-master.c
> @@ -972,7 +972,7 @@ static int dw_i3c_probe(struct udevice *dev)
> }
>
> ret = reset_get_bulk(dev, &master->resets);
> - if (ret) {
> + if (ret && ret != -ENOTSUPP && ret != -ENOENT) {
> dev_err(dev, "Can't get reset: %d\n", ret);
> return ret;
> }
> --
> 2.34.1
>
Reviewed-by: Dinesh Maniyam [email protected]