From: sashiko-bot@kernel.org
To: "Sebastian Reichel" <sebastian.reichel@collabora.com>
Cc: linux-usb@vger.kernel.org
Subject: Re: [PATCH 8/8] usb: typec: fusb302: drop custom gpio interrupt logic
Date: Fri, 13 Nov 2026 17:51:32 +0000 [thread overview]
Message-ID: <sashiko-outbox-213366@kernel.org> (raw)
In-Reply-To: <20261113-fusb302-probe-cleanup-v1-8-e5c65a8c58c8@collabora.com>
Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Medium] usb: typec: fusb302: void stub for fusb302_debugfs_init()
breaks !CONFIG_DEBUG_FS build
--
commit 68b5d98996b526119f13f5957d4fd6cf07fb01e3
Author: Sebastian Reichel <sebastian.reichel@collabora.com>
usb: typec: fusb302: drop custom gpio interrupt logic
This commit removes the undocumented "fcs,int_n" GPIO fallback from the
fusb302 driver and requires client->irq to be populated.
> diff --git a/drivers/usb/typec/tcpm/fusb302.c b/drivers/usb/typec/tcpm/fusb302.c
> index 6105f09f96aad..c392134cdc0c5 100644
> --- a/drivers/usb/typec/tcpm/fusb302.c
> +++ b/drivers/usb/typec/tcpm/fusb302.c
[ ... ]
> @@ -1751,13 +1733,10 @@ static int fusb302_probe(struct i2c_client *client)
> if (ret < 0)
> return ret;
[Severity: Medium]
Does fusb302_probe() fail to build when CONFIG_DEBUG_FS is disabled?
Earlier in this series, commit "usb: typec: fusb302: Switch to device
managed resources" changed fusb302_debugfs_init() to return int and
assigned its return value to ret right above this check, but the
!CONFIG_DEBUG_FS stub still returns void:
drivers/usb/typec/tcpm/fusb302.c:
#ifdef CONFIG_DEBUG_FS
...
static int fusb302_debugfs_init(struct fusb302_chip *chip)
...
#else
...
static void fusb302_debugfs_init(const struct fusb302_chip *chip) { }
#endif
Returning 0 from the !CONFIG_DEBUG_FS stub of fusb302_debugfs_init()
avoids the build failure.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261113-fusb302-probe-cleanup-v1-0-e5c65a8c58c8@collabora.com?part=8
prev parent reply other threads:[~2026-11-13 17:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-13 16:42 [PATCH 0/8] usb: typec: fusb302: cleanup device driver probe Sebastian Reichel
2026-11-13 16:42 ` [PATCH 1/8] usb: typec: tcpm: allocate pd_list entries non device managed Sebastian Reichel
2026-11-13 16:55 ` sashiko-bot
2026-11-13 16:42 ` [PATCH 2/8] usb: typec: tcpm: add device managed port registration Sebastian Reichel
2026-11-13 17:06 ` sashiko-bot
2026-11-13 16:42 ` [PATCH 3/8] usb: typec: fusb302: Switch to device managed resources Sebastian Reichel
2026-11-13 17:21 ` sashiko-bot
2026-11-13 16:42 ` [PATCH 4/8] usb: typec: fusb302: switch to devm_pm_set_wake_irq Sebastian Reichel
2026-11-13 17:34 ` sashiko-bot
2026-11-13 16:42 ` [PATCH 5/8] usb: typec: fusb302: rename init_gpio into fusb302_init_irq Sebastian Reichel
2026-11-13 17:35 ` sashiko-bot
2026-11-13 16:42 ` [PATCH 6/8] usb: typec: fusb302: move gpio_int_n into function local scope Sebastian Reichel
2026-11-13 17:36 ` sashiko-bot
2026-11-13 16:42 ` [PATCH 7/8] usb: typec: fusb302: rework gpio_int_n_irq handling Sebastian Reichel
2026-11-13 17:41 ` sashiko-bot
2026-11-13 16:42 ` [PATCH 8/8] usb: typec: fusb302: drop custom gpio interrupt logic Sebastian Reichel
2026-11-13 17:51 ` sashiko-bot [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=sashiko-outbox-213366@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
--cc=sebastian.reichel@collabora.com \
/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