Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp5632452pxb; Sun, 7 Nov 2021 16:50:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJyV/UJLEoJR+wHNKksZ+L8JsAjmLXL14SIGz4fmLpKS6H5TwLqGunPXA1I2VIYCEt9bNOx6 X-Received: by 2002:a17:907:c1d:: with SMTP id ga29mr52384816ejc.180.1636332614798; Sun, 07 Nov 2021 16:50:14 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636332614; cv=none; d=google.com; s=arc-20160816; b=DA5mpY+rgmDJD1RXKWWUH4Yfs+oPpHuQuttUfWIL4b1HC8O0zW0RMSuv1rmCqx64Xl Xnq5CtemvWK9vHS+8TBeMAaa/bqdOOwD0NJErXwY1gDmO70MXpImYUa5t899boSmGbzE 54g0hDLZdKJM8sw5iaxq4JfmcsSoY3fgIHMI5SzrlVc42OFNBwGidhf3fQT7RPaLZoaM DMeNA9H5nAKE3FCzigjDStz5g+fHBvFC7k5WmVHMso7MaheuHCg+8QExDC3gJSbynrAN 0JpnAJ2P9v6cHGwWJXtBc4D8+hx4nppmJPfT4t2uoSSsP8L9EMj07yfZYLB7o+YDrPOC 5L3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from:dkim-signature; bh=uBfEP5FNkC1/BDYW5chVGIx3GxO4uxsHryf2/DqsWLs=; b=hq3v+Cca9EhRs5v08si7+etZNLK8sJ+Fyz5TjMpzIaT13I+W6sUXx2JLpRx0DGZPcD SNcCDH1MBnIcg9kE5lSrW0eHqQ1KdLhwG8jA8oXLk5FzgRfDQMI7wbY/JF6/A7Q+0u3y 5xsqAfBmSzFNHmZz1NdAAJ4mbaNxTGVffa17OwGVDtsK/vkYEJwUPWwsg+jbMVZ4zD0W q8uwaWdAyht4jQ318Ejg6lONhjv8KXUk2gfITiqAXX2WJCChbJS9Lugz+omQfKMedOou x8ZANm+H94zByEObc5hA1j5f1stIiBZowIOgD0zZmnUSqbBTg6l1V9I9jDQcRp3wbclO mrgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@megous.com header.s=mail header.b=AgrHm1Cy; 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 dr6si7396805ejc.567.2021.11.07.16.49.51; Sun, 07 Nov 2021 16:50:14 -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=AgrHm1Cy; 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 S236225AbhKGTJk (ORCPT + 99 others); Sun, 7 Nov 2021 14:09:40 -0500 Received: from vps.xff.cz ([195.181.215.36]:41352 "EHLO vps.xff.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234631AbhKGTJk (ORCPT ); Sun, 7 Nov 2021 14:09:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megous.com; s=mail; t=1636311517; bh=h4BpOOjQtkAykHCWV6tHGyXVrJ4qCZ6b243KtgEe0Kg=; h=From:To:Subject:Date:From; b=AgrHm1CySmReXI9I5TU3g6AKiUBPH14YllIHhHauS1GksZCqlSuaKw6giQWwfaT+j g0oxZa1PFqMruFOBGJQajN4UCg6WJVzp2Iqpwf6BUkKUBxLTe9ZBWnkZY7buAq5QYs qVkalonlK5F/nwNJZjd7SciJnRxspYVly/CxOcjI= From: Ondrej Jirman To: Kishon Vijay Abraham I , Vinod Koul , Heiko Stuebner , Peter Geis , Ondrej Jirman , Julia Lawall , kernel test robot , Tobias Schramm , linux-phy@lists.infradead.org (open list:GENERIC PHY FRAMEWORK), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Rockchip SoC support), linux-rockchip@lists.infradead.org (open list:ARM/Rockchip SoC support), linux-kernel@vger.kernel.org (open list) Subject: phy: rockchip-inno-usb2: Don't print useless error Date: Sun, 7 Nov 2021 19:58:35 +0100 Message-Id: <20211107185836.2540901-1-megous@megous.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The interrupt is optional, make the dmesg not complain about it missing. 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