From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 12802C433EF for ; Sun, 7 Nov 2021 19:20:48 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id D801D6113A for ; Sun, 7 Nov 2021 19:20:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org D801D6113A Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=megous.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=e7eRyCtGFFsjvyslvwAL8sc0kGZdQ321rV+BEHED8KQ=; b=r+vtLYvYlv4a0B tl6n17uU3DFeKehyJq8qX1PdeQByBD8CKAaJxCi6n65sv4sHJ71wF9KlsfnQl9zu45UIPztTqeN0K 3ZF621+eA68yzuNDTGo1v4+35p260hdTefN/a5eHYeu7YMzQgYzRoImE3ABlut3VOHWykYzgrXMIF RWBWoi56d8WDq84fDH64N3MZDolgPeby/zp0lrb4OtXyicFfl5dq978W2P5ClcKzqCXIgZmoTN6mC fLbt6RC+MtPY7k5dzHXZbQigrLvNR/FjztF1XgyD40GZBLELb+I8sOF+7JftDdV+COxW/XY+VX2a7 HrzQh5SoJe0RMlPBUiKQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mjnhK-00Elct-0E; Sun, 07 Nov 2021 19:19:22 +0000 Received: from vps.xff.cz ([195.181.215.36]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mjnhF-00ElcO-Vh; Sun, 07 Nov 2021 19:19:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1636312756; bh=3A4Dli+gg8HWNov7I1Eit9gqhTCBR/mKSOT/BJaGxdU=; h=Date:From:To:Subject:X-My-GPG-KeyId:References:From; b=e8O1Ig5CN8RH38LZg6yzToDBqt2MJjikmDxd+Ccm7IJtzEKal1U0B+5XMoWB/bBpA sYF2N6duAh51fLoLh3WT660E9NBTMru5ugi0lCwBMo8h7aC7GZmk7BDoZj+7tmvYC5 fHE/iZ6hFE0qFzzzR3PmORgDVENEWGeX+XKEX/II= Date: Sun, 7 Nov 2021 20:19:16 +0100 From: =?utf-8?Q?Ond=C5=99ej?= Jirman To: Kishon Vijay Abraham I , Vinod Koul , Heiko Stuebner , Peter Geis , Julia Lawall , kernel test robot , Tobias Schramm , "open list:GENERIC PHY FRAMEWORK" , "moderated list:ARM/Rockchip SoC support" , "open list:ARM/Rockchip SoC support" , open list Subject: Re: phy: rockchip-inno-usb2: Don't print useless error Message-ID: <20211107191916.5bkgjqiptftr3b7i@core> Mail-Followup-To: =?utf-8?Q?Ond=C5=99ej?= Jirman , Kishon Vijay Abraham I , Vinod Koul , Heiko Stuebner , Peter Geis , Julia Lawall , kernel test robot , Tobias Schramm , "open list:GENERIC PHY FRAMEWORK" , "moderated list:ARM/Rockchip SoC support" , "open list:ARM/Rockchip SoC support" , open list X-My-GPG-KeyId: EBFBDDE11FB918D44D1F56C1F9F0A873BE9777ED References: <20211107185836.2540901-1-megous@megous.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211107185836.2540901-1-megous@megous.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211107_111918_204130_26C2C326 X-CRM114-Status: GOOD ( 14.30 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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 > --- > 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-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel