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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id EEE44C6FD19 for ; Thu, 16 Mar 2023 16:54:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229966AbjCPQyS (ORCPT ); Thu, 16 Mar 2023 12:54:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229436AbjCPQyQ (ORCPT ); Thu, 16 Mar 2023 12:54:16 -0400 Received: from mx07-00178001.pphosted.com (mx07-00178001.pphosted.com [185.132.182.106]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CE21FA54FE for ; Thu, 16 Mar 2023 09:54:14 -0700 (PDT) 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 Content-Transfer-Encoding: 8bit Content-Type: text/plain 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.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(-) -- 2.25.1