Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5681349pxb; Sun, 7 Nov 2021 17:52:38 -0800 (PST) X-Google-Smtp-Source: ABdhPJyIyYMU7CDLlUOa9AiHr47FRqc6Gw96SKS4yx/r9E97ZGwPrVwgE8/9wAybmSCJACyZsVL7 X-Received: by 2002:a17:906:9459:: with SMTP id z25mr31485717ejx.331.1636336358762; Sun, 07 Nov 2021 17:52:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636336358; cv=none; d=google.com; s=arc-20160816; b=Y16M4zIUCTv6PLOycG2l98JR/oe6AgKwq40M3ZYBCmxwc4jba0ZniN6DHn1LkZyuIt lHUi+DV8xf55X+EfWM2u9PiEHbiOY7utZ28N1aPO00vvKv8euhyQhCUpemi5q0DlsxNw /mMLI5lrTWL66NVttXUiSs6JIiAoQKgR0gA/kLRwxqlgUJo+9SZ6tmcloyR/oFuH0ejk P7Kha8coD4C/egUAqqv+y18NektqoznEey10kGTXMznKkpLLPqv3UBmu+i2PjPJaMCTh 5As805VLxFz6zCw6Nd52NKFJmBR9hAtS4JotE+uys3Zb0QVGGf2GQnB0QJj5k1CcbPPy BAsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:mail-followup-to:message-id:subject:to:from:date :dkim-signature; bh=ZxJ0vw4zQd8OmdnMVYBBCP4i8I+yO2Yl7B7KUwDKqkM=; b=GJ140H31SfIJ7Mgwzgqbmpt680nDowIzqpiRSyK3UhhJ6Qtp6POBfC1JFyAcHCC0jT zW6iIaltIw/YdW8gTqrZeAkkTwhBuEUF59MQtVCyz1m5c8HdqijERljqP8OLVP7hbqot L8/3TsR+GTYVQOo9XMb0lnM5pFVRGlSrpO2pE4EKJUfxFTaEuNJ+Deke+HWxbzeUujgI WDAhLo9UgzKeBAd/Npva/W+IrEljJbpDEDtGElRI7XJcj7o0RrkugCqzr/lHvOF751pL iQxK6C2JG04RGu5ubp/KvuF19vOpS2uQtFErfOuT2/d3KoIazc1916drWq1kaCLxaH22 pOow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=e8O1Ig5C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id nc26si9258269ejc.455.2021.11.07.17.52.14; Sun, 07 Nov 2021 17:52:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=e8O1Ig5C; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=megous.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229715AbhKGTWB (ORCPT + 99 others); Sun, 7 Nov 2021 14:22:01 -0500 Received: from vps.xff.cz ([195.181.215.36]:41354 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbhKGTWA (ORCPT ); Sun, 7 Nov 2021 14:22:00 -0500 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-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211107185836.2540901-1-megous@megous.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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 >