[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20211107191916.5bkgjqiptftr3b7i@core>
Date: Sun, 7 Nov 2021 20:19:16 +0100
From: Ondřej Jirman <megous@...ous.com>
To: Kishon Vijay Abraham I <kishon@...com>,
Vinod Koul <vkoul@...nel.org>,
Heiko Stuebner <heiko@...ech.de>,
Peter Geis <pgwipeout@...il.com>,
Julia Lawall <julia.lawall@...ia.fr>,
kernel test robot <lkp@...el.com>,
Tobias Schramm <t.schramm@...jaro.org>,
"open list:GENERIC PHY FRAMEWORK" <linux-phy@...ts.infradead.org>,
"moderated list:ARM/Rockchip SoC support"
<linux-arm-kernel@...ts.infradead.org>,
"open list:ARM/Rockchip SoC support"
<linux-rockchip@...ts.infradead.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: phy: rockchip-inno-usb2: Don't print useless error
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@...ous.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
>
Powered by blists - more mailing lists