From: "Ondřej Jirman" <megous@megous.com>
To: Kishon Vijay Abraham I <kishon@ti.com>,
Vinod Koul <vkoul@kernel.org>, Heiko Stuebner <heiko@sntech.de>,
Peter Geis <pgwipeout@gmail.com>,
Julia Lawall <julia.lawall@inria.fr>,
kernel test robot <lkp@intel.com>,
Tobias Schramm <t.schramm@manjaro.org>,
"open list:GENERIC PHY FRAMEWORK" <linux-phy@lists.infradead.org>,
"moderated list:ARM/Rockchip SoC support"
<linux-arm-kernel@lists.infradead.org>,
"open list:ARM/Rockchip SoC support"
<linux-rockchip@lists.infradead.org>,
open list <linux-kernel@vger.kernel.org>
Subject: Re: phy: rockchip-inno-usb2: Don't print useless error
Date: Sun, 7 Nov 2021 20:19:16 +0100 [thread overview]
Message-ID: <20211107191916.5bkgjqiptftr3b7i@core> (raw)
In-Reply-To: <20211107185836.2540901-1-megous@megous.com>
On Sun, Nov 07, 2021 at 07:58:35PM +0100, megous hlavni wrote:
> The interrupt is optional, make the dmesg not complain about it
> missing.
Ooops. Sorry, this applies only on top of Peter Geis's
"phy: phy-rockchip-inno-usb2: support muxed interrupts"
which is not mainline yet. Please ignore.
kind regards,
o.
> Signed-off-by: Ondrej Jirman <megous@megous.com>
> ---
> drivers/phy/rockchip/phy-rockchip-inno-usb2.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
> index 428c2313a9cb2..27820bee04eae 100644
> --- a/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
> +++ b/drivers/phy/rockchip/phy-rockchip-inno-usb2.c
> @@ -1180,7 +1180,7 @@ static int rockchip_usb2phy_probe(struct platform_device *pdev)
> phy_cfgs = match->data;
> rphy->chg_state = USB_CHG_STATE_UNDEFINED;
> rphy->chg_type = POWER_SUPPLY_TYPE_UNKNOWN;
> - rphy->irq = platform_get_irq(pdev, 0);
> + rphy->irq = platform_get_irq_optional(pdev, 0);
> platform_set_drvdata(pdev, rphy);
>
> ret = rockchip_usb2phy_extcon_register(rphy);
> --
> 2.33.1
>
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
prev parent reply other threads:[~2021-11-07 19:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-07 18:58 phy: rockchip-inno-usb2: Don't print useless error Ondrej Jirman
2021-11-07 19:19 ` Ondřej Jirman [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=20211107191916.5bkgjqiptftr3b7i@core \
--to=megous@megous.com \
--cc=heiko@sntech.de \
--cc=julia.lawall@inria.fr \
--cc=kishon@ti.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=lkp@intel.com \
--cc=pgwipeout@gmail.com \
--cc=t.schramm@manjaro.org \
--cc=vkoul@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