From: Lee Jones <lee.jones@linaro.org>
To: Thierry Reding <thierry.reding@gmail.com>
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>,
linux-pwm@vger.kernel.org, "Michael Walle" <michael@walle.cc>
Subject: Re: [PATCH] pwm: sl28cpld: Set driver data before registering the PWM chip
Date: Fri, 4 Dec 2020 13:38:10 +0000 [thread overview]
Message-ID: <20201204133810.GP4801@dell> (raw)
In-Reply-To: <20201204125213.3426567-1-thierry.reding@gmail.com>
On Fri, 04 Dec 2020, Thierry Reding wrote:
> The PWM core code can call back into the PWM chip's implementation at
> any time after the chip has been registered. Since the driver uses
> driver data to store contextual information, registration must happen
> after the driver data has been set.
>
> Reported-by: Michael Walle <michael@walle.cc>
> Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
> ---
> drivers/pwm/pwm-sl28cpld.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Lee Jones <lee.jones@linaro.org>
--
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
prev parent reply other threads:[~2020-12-04 13:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-04 12:52 [PATCH] pwm: sl28cpld: Set driver data before registering the PWM chip Thierry Reding
2020-12-04 13:38 ` Lee Jones [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201204133810.GP4801@dell \
--to=lee.jones@linaro.org \
--cc=linux-pwm@vger.kernel.org \
--cc=michael@walle.cc \
--cc=thierry.reding@gmail.com \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox