From patchwork Thu Mar 16 16:53:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amelie Delaunay X-Patchwork-Id: 13178076 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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id C26DDC6FD19 for ; Thu, 16 Mar 2023 16:55:17 +0000 (UTC) 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: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:In-Reply-To:References: List-Owner; bh=Qa8qaL8M4Al+llyXot2Dl+j0m4u/p9mDlZVnaVBwk44=; b=wiSRWHRgyPqLyc jda0QNT0rBevWzPGvXIB7D+GKvNhXRgXqqqgkg+G73/IANj/RNg5FFFXHBMlGjxsjX2A4aW8ECSr9 RISKI7oJGZ4ZZYQ7pwpuaoUpuA7AlN9R4oDmXBXH06g3k5M0GB95fuGpGEWspmttsKyHdUa49kOtV S/I/YyLNXvWymRnAkNXM0fkmZLIFxD8aGTlorPFqTlV6R2jLySHYYC4jXtXYTXuHS/EOzCv/wKUiZ CogcN7d4FabTmJUxQc9zQIaH/8/MdzvnC7j4vuiWVvn3dL7rs1d+fpJSqrGCk2h5rzgYL7pVvtLEv vyAnMoNdREt5l0+KQzaw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1pcqrl-00H3n3-1i; Thu, 16 Mar 2023 16:54:13 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1pcqrh-00H3lK-0C for linux-arm-kernel@lists.infradead.org; Thu, 16 Mar 2023 16:54:12 +0000 Received: from pps.filterd (m0241204.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32GCBnuF004161; Thu, 16 Mar 2023 17:53:56 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foss.st.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=selector1; bh=fn5gTDlxJJOoidDGzjzz0yoRj+FjfSsHO8ABQBnX10g=; b=q4HhsBl0YpS0PHd1icmcQ7M4B2suLufSQfpY9PRjtNCLb2VQ/6W7VWJ6NPHxmxwha0Qq SXhBfIj3wQirc2XFsA0PBbilk5kbns6FIL3rlEwYik4180ojBsmcAGPxaogT5fr6Cg2a qC66GvpOAL/JWB3Eui9GQg+RbHMp+szdL4D5p4lnetP9r0eQM3Xt2CnKOv0DMNQN98Iq P9DwliX74HxNqZm0ZJfTBcWzzAG5VfyM/gLmx7N7o+dYSI9qcbQXwrjzab9GJGeOznqU cuPXXvLKU80wMubmUSdS+2ryGJ/YS8oilLlLRp40LllrZQ8iA9x/d8MTEwIl9Is7vX9I cg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com (PPS) with ESMTPS id 3pbpvydxh5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 16 Mar 2023 17:53:56 +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 027BE10002A; Thu, 16 Mar 2023 17:53:55 +0100 (CET) Received: from Webmail-eu.st.com (shfdag1node3.st.com [10.75.129.71]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id F07A821ED52; Thu, 16 Mar 2023 17:53:54 +0100 (CET) Received: from localhost (10.201.20.208) by SHFDAG1NODE3.st.com (10.75.129.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.17; Thu, 16 Mar 2023 17:53:54 +0100 From: Amelie Delaunay To: Lee Jones , Maxime Coquelin , Alexandre Torgue CC: , , , Amelie Delaunay Subject: [PATCH 0/2] STMFX chip init couple of fixes Date: Thu, 16 Mar 2023 17:53:45 +0100 Message-ID: <20230316165347.2669038-1-amelie.delaunay@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Originating-IP: [10.201.20.208] X-ClientProxiedBy: EQNCAS1NODE4.st.com (10.75.129.82) To SHFDAG1NODE3.st.com (10.75.129.71) X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-16_10,2023-03-16_01,2023-02-09_01 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230316_095410_953618_49424BB2 X-CRM114-Status: GOOD ( 11.46 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org This series fixes the behavior of stm32_chip_init function in case of errors. Amelie Delaunay (2): mfd: stmfx: Fix error path in stmfx_chip_init mfd: stmfx: Nullify stmfx->vdd in case of error drivers/mfd/stmfx.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)