From: "Bin Luo (University of Electronic Science and Technology of China)" <luob87709@gmail.com>
To: gregkh@linuxfoundation.org
Cc: linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2 0/2] usb: phy: twl6030: fix comparator init order and teardown cleanup
Date: Fri, 27 Nov 2026 21:39:21 +0800 [thread overview]
Message-ID: <20261127133923.1452-1-luob87709@gmail.com> (raw)
Hi Greg,
This v2 series addresses your review feedback on v1:
- Drop the unnecessary comment in twl6030_usb_probe().
- Split the v1 patch into two single-purpose patches:
1/2 initializes twl->lock and work items before registering the
comparator with omap_usb2_set_comparator().
2/2 clears the comparator via omap_usb2_set_comparator(NULL) and
cancels set_vbus_work on probe failure paths and in
twl6030_usb_remove().
Note on drivers/phy/ti/phy-omap-usb2.c:
Automated review pointed out that omap_usb2_set_comparator() and its
comparator readers in drivers/phy/ti/phy-omap-usb2.c do not currently
synchronize concurrent updates to phy->comparator. Fixing that requires
adding synchronization in the TI PHY driver (a separate subsystem);
this series focuses on fixing the initialization ordering and missing
unregistration bugs in phy-twl6030-usb.c.
Bin Luo (University of Electronic Science and Technology of China) (2):
usb: phy: twl6030: initialize lock and work before registering
comparator
usb: phy: twl6030: clear comparator on probe failure and remove
drivers/usb/phy/phy-twl6030-usb.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
--
2.43.0
next reply other threads:[~2026-11-27 13:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-27 13:39 Bin Luo (University of Electronic Science and Technology of China) [this message]
2026-11-27 13:39 ` [PATCH v2 1/2] usb: phy: twl6030: initialize lock and work before registering comparator Bin Luo (University of Electronic Science and Technology of China)
2026-11-27 13:39 ` [PATCH v2 2/2] usb: phy: twl6030: clear comparator on probe failure and remove Bin Luo (University of Electronic Science and Technology of China)
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=20261127133923.1452-1-luob87709@gmail.com \
--to=luob87709@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.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
all inboxes | Powered by JetHome®