Message ID | 20201110102305.27205-2-amelie.delaunay@st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=iytS=EQ=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F24A3C55ABD for <linux-arm-kernel@archiver.kernel.org>; Tue, 10 Nov 2020 10:23:50 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (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 7BA732065C for <linux-arm-kernel@archiver.kernel.org>; Tue, 10 Nov 2020 10:23:50 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="WDrI8mXj"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="bWl3YNSQ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7BA732065C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=ru+lK56b+l7ql9pcQ5Mhkma2hSSCyJe0QGIX3JIs3qU=; b=WDrI8mXjLHxkqIPIQ0gTM79m5 x+1PBDnLy20gD5qbIl1Ie683JWXfK3sogHglyzoVJhooijIeF6E+42bvn/19hOALyjMEfQSX1xVoa 1arTa8ObxbAqbeGwmG7qiDOVszzc39lw6O6QkikSrQUEGB6EqnLijJ3ScxdAfZIcBnxEyK0kcKI1s 09AB71juvZ6ZJf8a5NeLp6JCQXLAfqM3rzq8HM37CU2g9PEiA3uDG112DcG/0/NlYWyYDCqlxmh4Y kqqgqSRMkCbISyaACWM6eYrcZrzmyVSp66qfSixhFtKjC85wB68EOyrHjYeMhf3efSWlfnkgP6F5e d/RXhypIw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcQoF-0003Ri-2K; Tue, 10 Nov 2020 10:23:31 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcQo5-0003PB-2j for linux-arm-kernel@lists.infradead.org; Tue, 10 Nov 2020 10:23:24 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0AAAGjkk020555; Tue, 10 Nov 2020 11:23:14 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=STMicroelectronics; bh=SAM8FttZW2H48y7jY4eJofzOj8s3m04uqqIn5J4eMFo=; b=bWl3YNSQmNUYdsaO78M2VW3QAyxcV3260FNvtX7gm72OOOyqmDfXVcqQlae6bI6/tIdO ds3Mqcu3Ck9WhNClwD03g+5p4Ld0ybpSqbwyCUOq9svLzd8B+JsBccCWkiD/wgL9iw5M EhRRuAcVgroB6KjRC5aosbRs1tdGECyuFrYqViDD0Ja4rY9QOTrPz5aHqj3njU8wu3Wb Gy8Nu/moTGQxYJt6d5wLKM7L7BTMX8bG2vAT9qMaJM+tWj/G2Gofiv3w66UZXbAcbXiH ivhhWn8wocXLJ/V935DtdsP96O2+lA1u87YwqD9ArE+Rt+hpJlnAN1v62MYUhW54ZaKg 3A== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 34nkbmygsv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Nov 2020 11:23:14 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id C0346100034; Tue, 10 Nov 2020 11:23:13 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node2.st.com [10.75.127.8]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id B06E823EDB0; Tue, 10 Nov 2020 11:23:13 +0100 (CET) Received: from localhost (10.75.127.44) by SFHDAG3NODE2.st.com (10.75.127.8) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Tue, 10 Nov 2020 11:23:13 +0100 From: Amelie Delaunay <amelie.delaunay@st.com> To: Kishon Vijay Abraham I <kishon@ti.com>, Vinod Koul <vkoul@kernel.org>, Alexandre Torgue <alexandre.torgue@st.com>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Etienne Carriere <etienne.carriere@st.com> Subject: [PATCH 2/2] phy: stm32: defer probe for reset controller Date: Tue, 10 Nov 2020 11:23:05 +0100 Message-ID: <20201110102305.27205-2-amelie.delaunay@st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20201110102305.27205-1-amelie.delaunay@st.com> References: <20201110102305.27205-1-amelie.delaunay@st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.44] X-ClientProxiedBy: SFHDAG1NODE1.st.com (10.75.127.1) To SFHDAG3NODE2.st.com (10.75.127.8) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-11-10_04:2020-11-05, 2020-11-10 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201110_052321_640168_8D7F33DF X-CRM114-Status: GOOD ( 15.97 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Cc: Amelie Delaunay <amelie.delaunay@st.com>, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
[1/2] phy: stm32: don't print an error on probe deferral
|
expand
|
diff --git a/drivers/phy/st/phy-stm32-usbphyc.c b/drivers/phy/st/phy-stm32-usbphyc.c index fe3085eec201..f3f582a3ccdb 100644 --- a/drivers/phy/st/phy-stm32-usbphyc.c +++ b/drivers/phy/st/phy-stm32-usbphyc.c @@ -342,6 +342,10 @@ static int stm32_usbphyc_probe(struct platform_device *pdev) reset_control_assert(usbphyc->rst); udelay(2); reset_control_deassert(usbphyc->rst); + } else { + ret = PTR_ERR(usbphyc->rst); + if (ret == -EPROBE_DEFER) + goto clk_disable; } usbphyc->switch_setup = -EINVAL;