From patchwork Wed Apr 24 12:51:24 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien DESSENNE X-Patchwork-Id: 10914691 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 609BA161F for ; Wed, 24 Apr 2019 12:51:59 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4E9CF28A7C for ; Wed, 24 Apr 2019 12:51:59 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 418D328ACA; Wed, 24 Apr 2019 12:51:59 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F16E1289B9 for ; Wed, 24 Apr 2019 12:51:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version: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:In-Reply-To:References: List-Owner; bh=W+WnvCJeeAZ1brbKC2Hj92E/cP18DMhsIwphxBPGBGE=; b=Wq41VadhRPCS0i cJJcFAAHC0TqVq7QHCzebDPdXdECiyn/CT37Rk68IAqsPw/Q57eUOOsnDIvJbG3vwJEZP75MHIBwA 0z+k1RrUsmH7TsBDrDbe+apHr2z05E/9W7xivrHiXY5yWGZgt1s8VWTwu6nZegzIuwKGdOjXWTTzp 1l6cAFIDUuOFoS3EpuWGdv4wret1KQJOio1RwDrpE81Gf2BkFmpLy0jLkjRzdKjQRgrLwt0LW2a+x znyNkm5hepqcdXL6EAMNwNvNYCB5zuA+T9p1hfIRzHW2is/aTthO3+p60AKS6+d0t6T1k/Jsa2H5l iyiOJe14BzXKHfhtIAVQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJHNI-00080D-AH; Wed, 24 Apr 2019 12:51:44 +0000 Received: from mx08-00178001.pphosted.com ([91.207.212.93] helo=mx07-00178001.pphosted.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hJHNF-0007zV-EO for linux-arm-kernel@lists.infradead.org; Wed, 24 Apr 2019 12:51:43 +0000 Received: from pps.filterd (m0046660.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x3OCh4jq001674; Wed, 24 Apr 2019 14:51:35 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=STMicroelectronics; bh=0SZQM29k1vMzi11gHJmCKSfq1WMVmK6sOWEplpQiDnI=; b=o0PYQWKTnMFtyi1R4y087BiSsI/B3FWRIZxE7icyKDzrNnxeVzVV1Ly1HrZwSAtMxhLU /Z87mDhcYakKaYYc4UoY7TCkXCv67TCdKDq1DJndBi/BH2KrDsHuKElmeE6xARgPwAil PNluP4p8Dkf1B5FmVF1MIE2aTYi6KkedpvlLBb0PLZdPcbuyBGxC1TYj8o8uRFbKXVRr lxLnB9xNSOB1lLN/lRAxoKY2rCJmt6Q5JMux7ufLs3NrkKLWbu4mr7vIE9eiLPKlVSXc LFUhOmB7hQLHL7mcdhOASkeBye0SxeDKTucVF2UYYSXWvOcqupZ3RqvayOhI6ZBVvG70 KA== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2ryrj670dn-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 24 Apr 2019 14:51:35 +0200 Received: from zeta.dmz-eu.st.com (zeta.dmz-eu.st.com [164.129.230.9]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 729973A; Wed, 24 Apr 2019 12:51:34 +0000 (GMT) Received: from Webmail-eu.st.com (Safex1hubcas22.st.com [10.75.90.92]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 4BE7C25CB; Wed, 24 Apr 2019 12:51:34 +0000 (GMT) Received: from SAFEX1HUBCAS23.st.com (10.75.90.47) by Safex1hubcas22.st.com (10.75.90.92) with Microsoft SMTP Server (TLS) id 14.3.361.1; Wed, 24 Apr 2019 14:51:34 +0200 Received: from localhost (10.201.23.25) by webmail-ga.st.com (10.75.90.48) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 24 Apr 2019 14:51:33 +0200 From: Fabien Dessenne To: Jonathan Cameron , Hartmut Knaack , Lars-Peter Clausen , Peter Meerwald-Stadler , Maxime Coquelin , "Alexandre Torgue" , Fabrice Gasnier , , , , Subject: [PATCH 0/2] iio: adc: stm32-dfsdm: manage error cases in probe Date: Wed, 24 Apr 2019 14:51:24 +0200 Message-ID: <1556110286-1526-1-git-send-email-fabien.dessenne@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.201.23.25] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-04-24_08:, , signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190424_055141_968932_47BE79F2 X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fabien Dessenne Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This patchset adds some check of the returned error code in probe. Fabien Dessenne (2): iio: adc: stm32-dfsdm: manage the get_irq error case iio: adc: stm32-dfsdm: missing error case during probe drivers/iio/adc/stm32-dfsdm-adc.c | 6 ++++++ drivers/iio/adc/stm32-dfsdm-core.c | 8 ++++++-- 2 files changed, 12 insertions(+), 2 deletions(-)