Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3935851ybl; Mon, 13 Jan 2020 05:17:33 -0800 (PST) X-Google-Smtp-Source: APXvYqyCcdFx8zFlclgMBakbk6YnPaTaai/WS5LxXXg7jvAZa2LCATMOQAgZMHng3CmpON/5pFCS X-Received: by 2002:aca:e106:: with SMTP id y6mr12980853oig.131.1578921453856; Mon, 13 Jan 2020 05:17:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578921453; cv=none; d=google.com; s=arc-20160816; b=ek3hHkF9pXen6YMU/2Tl9KW0MtjQPkfWT0Xc/KbfB5sQ3/tArVtlu37qKoiszMNBpN CLTyxQ+bt3GHzxlTgFOXBvRQFCk4E2+BIdcMEMNPX9XPpEJztHBX3/C4Had2rJJ9Aq3E vdrW7mOtIhrrsoSHSaY4jS8Yps1SM3K3nrhgm+XWGsRlp29os/xdN1S5X8/JbBgoUXPx 6jmETenp2F+TWaMG2jFNFb2CqSWH7twB5ujLVBtV1c5PJmCyTR29pnWFdxnWv93RScsu 0lgH3G2QxK82NdZ2wm3YFbaZZ4MaZDkcQn7MPFvogMbYmz4tzKWiyAJLe3NoN5ka44i8 6e5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:message-id:date:subject:cc :to:from:dkim-signature; bh=O+MJ9qBjNJqJgFNGVwTg0BXY0E/KsooKUuDgdHOTWEQ=; b=rBS9l6rxJrMvLUyLszIQvo1LojmslBEhGD9ml2NoaOnRHRHsXW3oGNf4fs6A2zZKiD 51xwVGizOWXvMhEGBqpmyvMfkhwi8CZL3sJU5iPW4Xw7rqRQ1zHHtSdtNkZq5BUV17Pf p6/v8XQ7kZDqQFSfTbcIZ0wwoUCWfucHp3GV78ke4TRvlnJ5E4CllHRjyb0EPBmsbhBQ 28q2EcksSyAMHLXuTPebOVBxD0J8xe1yy/6f47q1R618XrBAz/i0o9YHT3uXNn7dV8ak npRN2wi8wy/oTPGLdz3pwZzZ1D8vcqiHbjS4Qq/p33qJ0v/oZEBbCgv251LFsDleKfn5 clGg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=TGNjHycr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si6841866otn.294.2020.01.13.05.17.21; Mon, 13 Jan 2020 05:17:33 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=TGNjHycr; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728709AbgAMNP6 (ORCPT + 99 others); Mon, 13 Jan 2020 08:15:58 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:59818 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726505AbgAMNP6 (ORCPT ); Mon, 13 Jan 2020 08:15:58 -0500 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 00DDCaGo007821; Mon, 13 Jan 2020 14:15:34 +0100 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=O+MJ9qBjNJqJgFNGVwTg0BXY0E/KsooKUuDgdHOTWEQ=; b=TGNjHycrAY30719TczLelyFBJzsNKGpS/wbYvNgDeX1YVwBQKnPHlgN6sH87SAFIsgup bz1E2ZHRnnqxb0BhBht6Cmzj6rOMkiKGOm+DKfWYV5+8Rxbk2DJjLJG2YR8xh21cOVH3 j9d4x/iRjzFv176f12F4qUN4wqjlQ4aFxmYkK5H38nvLvVz7KAM158EYZz/pw3NjZgVV bAJWMdWgsc8cEJBOYgQgAv5RTwalczpUtJeuXnTjyiwA8y/3ju8uf/fcU2Ypd06buhQC NHVlWEIZtE/Bf88PFcYDxVaUBY51tjD6N/mc9nS1J661WokJTaEKtlxhcHPSgzYoV6Dv 5Q== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2xf7jp85wr-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jan 2020 14:15:34 +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 64FAA10002A; Mon, 13 Jan 2020 14:15:33 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag5node3.st.com [10.75.127.15]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 51D7F2B8211; Mon, 13 Jan 2020 14:15:33 +0100 (CET) Received: from localhost (10.75.127.45) by SFHDAG5NODE3.st.com (10.75.127.15) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 13 Jan 2020 14:15:32 +0100 From: Fabrice Gasnier To: CC: , , , , , , , , , , , Subject: [PATCH 0/2] iio: dac: stm32-dac: improve reset controller use Date: Mon, 13 Jan 2020 14:14:24 +0100 Message-ID: <1578921266-6025-1-git-send-email-fabrice.gasnier@st.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.75.127.45] X-ClientProxiedBy: SFHDAG8NODE2.st.com (10.75.127.23) To SFHDAG5NODE3.st.com (10.75.127.15) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-01-13_03:2020-01-13,2020-01-13 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series does some cleanup on driver private struct (precursor patch). Then it better uses the reset controller API to propagate errors to the caller. Etienne Carriere (2): iio: dac: stm32-dac: use reset controller only at probe time iio: dac: stm32-dac: better handle reset controller failures drivers/iio/dac/stm32-dac-core.c | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) -- 2.7.4