[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGETcx8B+MZm_ZOFkK=KUvV_9q+48Zvkw8C-oenvvAKX+0+e6Q@mail.gmail.com>
Date: Wed, 27 Nov 2024 20:23:01 -0800
From: Saravana Kannan <saravanak@...gle.com>
To: Stephen Boyd <sboyd@...nel.org>
Cc: kernel-team@...roid.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1] spmi: Set fwnode for spmi devices
On Fri, Nov 15, 2024 at 3:05 PM Saravana Kannan <saravanak@...gle.com> wrote:
>
> This allows fw_devlink to do proper dependency tracking for SPMI
> devices. So, better deferred probe handling, async probing, async
> suspend/resume, etc.
>
> Signed-off-by: Saravana Kannan <saravanak@...gle.com>
Stephen,
Gentle nudge. Plan to take this in for 6.13?
-Saravana
> ---
> drivers/spmi/spmi.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/spmi/spmi.c b/drivers/spmi/spmi.c
> index fb0101da1485..3cf8d9bd4566 100644
> --- a/drivers/spmi/spmi.c
> +++ b/drivers/spmi/spmi.c
> @@ -517,7 +517,7 @@ static void of_spmi_register_devices(struct spmi_controller *ctrl)
> if (!sdev)
> continue;
>
> - sdev->dev.of_node = node;
> + device_set_node(&sdev->dev, of_fwnode_handle(node));
> sdev->usid = (u8)reg[0];
>
> err = spmi_device_add(sdev);
> --
> 2.47.0.338.g60cca15819-goog
>
Powered by blists - more mailing lists