From: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
To: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Cc: Thinh Nguyen <Thinh.Nguyen@synopsys.com>,
Patrice Chotard <patrice.chotard@foss.st.com>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Michal Simek <michal.simek@amd.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-usb@vger.kernel.org" <linux-usb@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"imx@lists.linux.dev" <imx@lists.linux.dev>,
"linux-arm-msm@vger.kernel.org" <linux-arm-msm@vger.kernel.org>
Subject: Re: [PATCH 00/11] usb: dwc3: various cleanups
Date: Wed, 28 Aug 2024 02:08:26 +0000 [thread overview]
Message-ID: <20240828020823.synkd3725y4khim6@synopsys.com> (raw)
In-Reply-To: <c9f11ee1-382b-4742-b558-c2b0801d8669@linaro.org>
On Tue, Aug 27, 2024, Krzysztof Kozlowski wrote:
> On 27/08/2024 03:59, Thinh Nguyen wrote:
> > Hi Krzysztof,
> >
> > On Wed, Aug 14, 2024, Krzysztof Kozlowski wrote:
> >> Hi,
> >>
> >> The first ST patch depends on my fix:
> >> https://urldefense.com/v3/__https://lore.kernel.org/all/20240814093957.37940-2-krzysztof.kozlowski@linaro.org/__;!!A4F2R9G_pg!eFzt54pYSEl8wrvrH7yQSwFRzbojnRSyelnYjxlY8RZaU6oZCVeui2f-DHQ0bk8Fdy6gvJoSWLeAPz2w_3F9ownOFLGUoyHd$
> >>
> >> Series makes some code simplifications and cleanups.
> >>
> >> Best regards,
> >> Krzysztof
> >>
> >> ---
> >> Krzysztof Kozlowski (11):
> >> usb: dwc3: st: use scoped device node handling to simplify error paths
> >> usb: dwc3: st: simplify with dev_err_probe
> >> usb: dwc3: st: simplify pdev->dev usage
> >> usb: dwc3: imx8mp: simplify with devm_clk_get_enabled
> >> usb: dwc3: imx8mp: simplify with dev_err_probe
> >> usb: dwc3: imx8mp: use scoped device node handling to simplify error paths
> >> usb: dwc3: qcom: use scoped device node handling to simplify error paths
> >> usb: dwc3: qcom: simplify with devm_platform_ioremap_resource
> >> usb: dwc3: rtk: use scoped device node handling to simplify error paths
> >> usb: dwc3: rtk: return directly and simplify with devm_platform_ioremap_resource
> >> usb: dwc3: xilinx: simplify with dev_err_probe
> >>
> >> drivers/usb/dwc3/dwc3-imx8mp.c | 66 ++++++++++++------------------------------
> >> drivers/usb/dwc3/dwc3-qcom.c | 16 ++++------
> >> drivers/usb/dwc3/dwc3-rtk.c | 52 ++++++++++-----------------------
> >> drivers/usb/dwc3/dwc3-st.c | 38 +++++++++++-------------
> >> drivers/usb/dwc3/dwc3-xilinx.c | 7 ++---
> >> 5 files changed, 58 insertions(+), 121 deletions(-)
> >> ---
> >> base-commit: 64b429eaf21be888cc83e9013e25897d5fb03a75
> >> change-id: 20240814-b4-cleanup-h-of-node-put-usb-93fadfc77d33
> >>
> >> Best regards,
> >> --
> >> Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> >>
> >
> > Thanks for the cleanup!
> >
> > I wish the mixed declarations in between statements for some of the
> > scoped device node handling can be changed. Bugs me a little with how
> > I'm used to parse the old standard with my eyes, but it's not a big
> > issue.
>
> Maybe this will be helpful:
>
>
> https://urldefense.com/v3/__https://lore.kernel.org/all/CAHk-=wicfvWPuRVDG5R1mZSxD8Xg=-0nLOiHay2T_UJ0yDX42g@mail.gmail.com/__;!!A4F2R9G_pg!YvWQyaH3G00Drln91_0r1t-Uz3rbturjHMQZCCITwC6fpBh3C_PZaROxmqbsZDiGRCddw2Qo8ZuAKQaadWBkyN7Now0EO78z$
>
> https://urldefense.com/v3/__https://lore.kernel.org/all/CAHk-=wgRHiV5VSxtfXA4S6aLUmcQYEuB67u3BJPJPtuESs1JyA@mail.gmail.com/__;!!A4F2R9G_pg!YvWQyaH3G00Drln91_0r1t-Uz3rbturjHMQZCCITwC6fpBh3C_PZaROxmqbsZDiGRCddw2Qo8ZuAKQaadWBkyN7No5Q5NOqo$
>
> https://urldefense.com/v3/__https://lore.kernel.org/all/CAHk-=whvOGL3aNhtps0YksGtzvaob_bvZpbaTcVEqGwNMxB6xg@mail.gmail.com/__;!!A4F2R9G_pg!YvWQyaH3G00Drln91_0r1t-Uz3rbturjHMQZCCITwC6fpBh3C_PZaROxmqbsZDiGRCddw2Qo8ZuAKQaadWBkyN7NozMgso_e$
>
> and finally it will reach documentation (although it focuses on
> unwinding process to be specific - "When the unwind order ..."):
> https://urldefense.com/v3/__https://lore.kernel.org/all/171175585714.2192972.12661675876300167762.stgit@dwillia2-xfh.jf.intel.com/__;!!A4F2R9G_pg!YvWQyaH3G00Drln91_0r1t-Uz3rbturjHMQZCCITwC6fpBh3C_PZaROxmqbsZDiGRCddw2Qo8ZuAKQaadWBkyN7No9_dTm9A$
>
Thanks for the links. That's good to know.
BR,
Thinh
prev parent reply other threads:[~2024-08-28 2:09 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-14 10:35 [PATCH 00/11] usb: dwc3: various cleanups Krzysztof Kozlowski
2024-08-14 10:35 ` [PATCH 01/11] usb: dwc3: st: use scoped device node handling to simplify error paths Krzysztof Kozlowski
2024-08-14 15:43 ` Patrice CHOTARD
2024-08-27 1:08 ` Thinh Nguyen
2024-08-14 10:35 ` [PATCH 02/11] usb: dwc3: st: simplify with dev_err_probe Krzysztof Kozlowski
2024-08-14 15:44 ` Patrice CHOTARD
2024-08-27 1:19 ` Thinh Nguyen
2024-08-27 9:35 ` Krzysztof Kozlowski
2024-08-14 10:35 ` [PATCH 03/11] usb: dwc3: st: simplify pdev->dev usage Krzysztof Kozlowski
2024-08-14 15:45 ` Patrice CHOTARD
2024-08-27 1:19 ` Thinh Nguyen
2024-08-14 10:35 ` [PATCH 04/11] usb: dwc3: imx8mp: simplify with devm_clk_get_enabled Krzysztof Kozlowski
2024-08-14 15:45 ` Frank Li
2024-08-27 1:26 ` Thinh Nguyen
2024-08-14 10:35 ` [PATCH 05/11] usb: dwc3: imx8mp: simplify with dev_err_probe Krzysztof Kozlowski
2024-08-14 15:44 ` Frank Li
2024-08-27 1:27 ` Thinh Nguyen
2024-08-14 10:35 ` [PATCH 06/11] usb: dwc3: imx8mp: use scoped device node handling to simplify error paths Krzysztof Kozlowski
2024-08-14 15:43 ` Frank Li
2024-08-27 1:30 ` Thinh Nguyen
2024-08-14 10:35 ` [PATCH 07/11] usb: dwc3: qcom: " Krzysztof Kozlowski
2024-08-27 1:32 ` Thinh Nguyen
2024-08-14 10:35 ` [PATCH 08/11] usb: dwc3: qcom: simplify with devm_platform_ioremap_resource Krzysztof Kozlowski
2024-08-27 1:34 ` Thinh Nguyen
2024-08-14 10:35 ` [PATCH 09/11] usb: dwc3: rtk: use scoped device node handling to simplify error paths Krzysztof Kozlowski
2024-08-27 1:43 ` Thinh Nguyen
2024-08-14 10:35 ` [PATCH 10/11] usb: dwc3: rtk: return directly and simplify with devm_platform_ioremap_resource Krzysztof Kozlowski
2024-08-27 1:44 ` Thinh Nguyen
2024-08-14 10:35 ` [PATCH 11/11] usb: dwc3: xilinx: simplify with dev_err_probe Krzysztof Kozlowski
2024-08-27 1:45 ` Thinh Nguyen
2024-08-27 1:59 ` [PATCH 00/11] usb: dwc3: various cleanups Thinh Nguyen
2024-08-27 9:36 ` Krzysztof Kozlowski
2024-08-28 2:08 ` Thinh Nguyen [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=20240828020823.synkd3725y4khim6@synopsys.com \
--to=thinh.nguyen@synopsys.com \
--cc=festevam@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzysztof.kozlowski@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=michal.simek@amd.com \
--cc=patrice.chotard@foss.st.com \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@kernel.org \
/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