Message ID | 20211029135454.4383-3-nicolas.toromanoff@foss.st.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=iNm/=PR=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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 798AAC433EF for <linux-arm-kernel@archiver.kernel.org>; Fri, 29 Oct 2021 13:57:56 +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 37B926115C for <linux-arm-kernel@archiver.kernel.org>; Fri, 29 Oct 2021 13:57:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 37B926115C Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=foss.st.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:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=xVal2EBzBBmKIe0UGQy/8Wv2ZCv+AWgk+zDSsgtKW88=; b=qkbkvItACaAC+x FtRr0TzwAff1sL+JSLB6rVi8Y1Idby1xXzRZOibGea63RpMWN1zTiL6HYaQhEcdALBE0D1NSLr76O x90s/HyrLt76ezACunWXgdX3O5CGiNHnRjHgy5Lkc2f/y7kmpeiz2DJs0ZDSAOftXzfIsVmU3SKKR MPW4Iv6FITBQzKQW4odZ7qNzFPNeRrNxWp6J9Ru0pC1P029jO5DSevvX1DC8sBDXxe2istTTjFMDy WmrKyjzSDzK8gfIHgFmsqkdUxskdCKMzwSwAUjl5zxnCE4Dczmi2zKbFkE613HFOQZrkvFJk0lgVp lAt5XAtHCOPzBvnHAyOQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgSMu-00B6GD-QY; Fri, 29 Oct 2021 13:56:29 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mgSMq-00B6Fr-GE for linux-arm-kernel@lists.infradead.org; Fri, 29 Oct 2021 13:56:26 +0000 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19TDDAOx022023; Fri, 29 Oct 2021 15:56:08 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=selector1; bh=23KQt3SEHQG2x+P/jacjp6tL0OJTLQOO2vIEH5W7XlU=; b=VL6PdqMJS/sHQbCjAxEEnWYMsNXRV7soDJW4Ma9rpgh1SkFn0XkBEdzOR26ddEhuEwYp vMp6/z+/isYE5TAeo6enoV5X17awatSqSN9OOFeAUXSCQXMdqeHaMgv/GxvjHmEt2Tjt 19iLisYR/cmqVL/pY+LiQCEELfIOC9eLc/4IYEd5tUHsutaTjN5WLhJpZ9q+UlU3fmDI B9DNhObiDhobZ1kWd88EnGp6P/T9YXyMr1qP7gfRPku10NO1dJls3LEtPWZogm3O2O/h gurbeFBfBcw2XOOcUCEmZaBUYGSCCSa96PobE8M7tLtHlHnqyocsg109YXuI/MFnygHD OQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 3c0es799kq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 29 Oct 2021 15:56:08 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 8E6C5100034; Fri, 29 Oct 2021 15:56:07 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag2node2.st.com [10.75.127.5]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 86B9324C741; Fri, 29 Oct 2021 15:56:07 +0200 (CEST) Received: from localhost (10.75.127.48) by SFHDAG2NODE2.st.com (10.75.127.5) with Microsoft SMTP Server (TLS) id 15.0.1497.18; Fri, 29 Oct 2021 15:56:07 +0200 From: Nicolas Toromanoff <nicolas.toromanoff@foss.st.com> To: Herbert Xu <herbert@gondor.apana.org.au>, "David S . Miller" <davem@davemloft.net>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com> CC: Marek Vasut <marex@denx.de>, Nicolas Toromanoff <nicolas.toromanoff@foss.st.com>, <linux-crypto@vger.kernel.org>, <linux-stm32@st-md-mailman.stormreply.com>, <linux-arm-kernel@lists.infradead.org>, <linux-kernel@vger.kernel.org>, Etienne Carriere <etienne.carriere@foss.st.com> Subject: [PATCH 2/8] crypto: stm32/cryp - don't print error on probe deferral Date: Fri, 29 Oct 2021 15:54:48 +0200 Message-ID: <20211029135454.4383-3-nicolas.toromanoff@foss.st.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20211029135454.4383-1-nicolas.toromanoff@foss.st.com> References: <20211029135454.4383-1-nicolas.toromanoff@foss.st.com> MIME-Version: 1.0 X-Originating-IP: [10.75.127.48] X-ClientProxiedBy: SFHDAG2NODE1.st.com (10.75.127.4) To SFHDAG2NODE2.st.com (10.75.127.5) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-10-29_03,2021-10-29_01,2020-04-07_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211029_065625_047511_C279B766 X-CRM114-Status: GOOD ( 16.76 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 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> 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 |
STM32 CRYP driver: many fixes
|
expand
|
diff --git a/drivers/crypto/stm32/stm32-cryp.c b/drivers/crypto/stm32/stm32-cryp.c index dcdd313485de..7b55ad6d2f1a 100644 --- a/drivers/crypto/stm32/stm32-cryp.c +++ b/drivers/crypto/stm32/stm32-cryp.c @@ -1955,7 +1955,8 @@ static int stm32_cryp_probe(struct platform_device *pdev) cryp->clk = devm_clk_get(dev, NULL); if (IS_ERR(cryp->clk)) { - dev_err(dev, "Could not get clock\n"); + dev_err_probe(dev, PTR_ERR(cryp->clk), "Could not get clock\n"); + return PTR_ERR(cryp->clk); }