Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp720565ybh; Sun, 12 Jul 2020 22:09:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz27NKgbPo+ei1kYD7B7y520pOjOycyj+9JeftuKXd91nheYXxvoBcyvDlKSO9IWdQXemNZ X-Received: by 2002:a50:e8c9:: with SMTP id l9mr81871482edn.272.1594616946426; Sun, 12 Jul 2020 22:09:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1594616946; cv=pass; d=google.com; s=arc-20160816; b=u9Yy97haRYUq/47RfzfmbLYh+ZMi7WQmNwT5gbuU3lKLXXtZ0SpRiY9fO5L7MLv+26 Df+Ev63wb0bC7Tp68s141EB2cenj42WqS3qZ5+i1G5/URcQTNXk2KZdCDXnYiwYYqxzu sTa+ayco5tQr0+BDysqlJBVr7QEpWbA5AQnricYtFMN52J6/cA7kKuTJkplvtIxYB9N9 qKtPNB1Cv1eou7TkFOveZTbfQ/3vA50w0uWn39Y0ScADAOfBzWM0whkM80KPkQ/PAM76 mD/t1BFSh/Bj6tMdSGt91FUQrwUqtJ6Z7V+nLGo9Mg58wh6dRUsBL79iJOWZrZJQ5Gnn +1qQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=PyLNJg9mAwZJC6w7guyLBYmYEA4XzhEyWKalD4RgREc=; b=xbcytrk7kB/6uWGIsqkeQUWR3QGj3BFbviR/IAQJBYX0d1u554Ri6PFnqfZD8RGWal OZZ+MUmgJSjYM8954n2yfbwEJkAK9Zfj4T/shuIOPO69zHCh3MBQajlNPtErXZTUwUSn 01htL5/Bmv0LJ6LJrb4qV6DNG9TLZqkumAnPaowQHoTubbH85PKzySVba+6bthBo64RA iynRevSDewzQIf2LuE7Cxc/F6Yy3h9CIj6ip3S0unE+kFbCX8I487b7QI4UxkyQo2K87 blBjovQRXNK4Az8yH+3t57AJVoKFgBZLzSSS0crIdL6jisjk6aWe/Nn6G+wUpG0XbQ7D 1dJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=R7Lw2FbT; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a28si9236961edj.27.2020.07.12.22.08.43; Sun, 12 Jul 2020 22:09:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@analog.onmicrosoft.com header.s=selector2-analog-onmicrosoft-com header.b=R7Lw2FbT; arc=pass (i=1 spf=pass spfdomain=analog.com dkim=pass dkdomain=analog.com dmarc=pass fromdomain=analog.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728847AbgGMFID (ORCPT + 99 others); Mon, 13 Jul 2020 01:08:03 -0400 Received: from mx0a-00128a01.pphosted.com ([148.163.135.77]:9042 "EHLO mx0a-00128a01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725920AbgGMFIC (ORCPT ); Mon, 13 Jul 2020 01:08:02 -0400 Received: from pps.filterd (m0167089.ppops.net [127.0.0.1]) by mx0a-00128a01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06D57lgW027425; Mon, 13 Jul 2020 01:07:47 -0400 Received: from nam04-sn1-obe.outbound.protection.outlook.com (mail-sn1nam04lp2053.outbound.protection.outlook.com [104.47.44.53]) by mx0a-00128a01.pphosted.com with ESMTP id 327ab4kskp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 13 Jul 2020 01:07:46 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=at4k78oWH5I+1fwquGBFrQLtmamXk9H0mpSmJLNGovG7Fi3kNAwJvtZavc2TpNhiPC9R/M9VGi1tj1j0gbdu65qJYgWVn5IyeXHEU8fsXw/3aKI0CS7eDZ87gEotmzmMMqDjnB+TQpTnADYTe0IddzpV2amxsGTl4ObUfXsIuLr/b4V5OinGCylm4JyCPC5IlbGtA7xqViTjKMvL8i4IC9VhNO4a9jbLUnHWoY8l36iVsJZyFI1hazrnn5Ep636BnNqLfJOBQgHktnVE4GiRS/cFSq1atV6xDyuAHtcI9e3axU4t28xuPJQBcg5uEemtfUfhU8/2JB/NyYB1aMuNHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PyLNJg9mAwZJC6w7guyLBYmYEA4XzhEyWKalD4RgREc=; b=YxfdmXAwFsyPkpysspUFUS9DL9HSF2F2JqlxqBTkgBkklirKN6ohjyvJT2c6RhPaEsamdr7CMRNhquSGXDJke6K8ihGV83ooLR+cgosaXv+P2i6GpifsfMraKf39gpJ8yBXPCTr4rLFIGwYzTzq7QKG5NzH2aFcR5cDIKA/eZJja6DyR1mq0ptz+wr1/ND6HOF7IGq0eq9nQM6vdDM6odGIbtVtmp9TYqxNrNqJpZhDJ2/rZgSl+haMxoXdKWnWzFWvyibEm/Vuj5La7V1Xm845qDZJvUS3emk7yZy/rxD5yitpTU9u9Ygh0uICzixn6hzLPsYyD706vPkPm9Qpstg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=analog.com; dmarc=pass action=none header.from=analog.com; dkim=pass header.d=analog.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=analog.onmicrosoft.com; s=selector2-analog-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PyLNJg9mAwZJC6w7guyLBYmYEA4XzhEyWKalD4RgREc=; b=R7Lw2FbTWxEN3Df4zAR1dLixw6RhK3xH1wKFgwnDfuedQy/FaDz+I5JzHELzgqvi9krttNng74qEF22PFbhXESgjqoVNnN4LW7sM3mpaBdfm6QEld6q4MhfsnD68E0IH5OOM0Iv5QaqVM8Iobs4cDRm6YFOMNUD3W/q4fAD59Js= Received: from DM6PR03MB4411.namprd03.prod.outlook.com (2603:10b6:5:10f::14) by DM6PR03MB3931.namprd03.prod.outlook.com (2603:10b6:5:4b::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.22; Mon, 13 Jul 2020 05:07:45 +0000 Received: from DM6PR03MB4411.namprd03.prod.outlook.com ([fe80::c1c3:9cbb:449c:ac0a]) by DM6PR03MB4411.namprd03.prod.outlook.com ([fe80::c1c3:9cbb:449c:ac0a%7]) with mapi id 15.20.3174.025; Mon, 13 Jul 2020 05:07:45 +0000 From: "Ardelean, Alexandru" To: "jic23@kernel.org" , "contact@artur-rojek.eu" CC: "ezequiel@vanguardiasur.com.ar" , "linux-iio@vger.kernel.org" , "paul@crapouillou.net" , "devicetree@vger.kernel.org" , "dmitry.torokhov@gmail.com" , "mark.rutland@arm.com" , "linux-kernel@vger.kernel.org" , "heiko@sntech.de" , "andy.shevchenko@gmail.com" , "robh+dt@kernel.org" Subject: Re: [PATCH v8 2/6] IIO: Ingenic JZ47xx: Error check clk_enable calls. Thread-Topic: [PATCH v8 2/6] IIO: Ingenic JZ47xx: Error check clk_enable calls. Thread-Index: AQHWVgTo84dbJEvIi0y+LdDlMC9+5qkD3I8AgAEee4A= Date: Mon, 13 Jul 2020 05:07:44 +0000 Message-ID: <526dc4337ce1b5fcac94923c2b5533852a7b2739.camel@analog.com> References: <20200709152200.10039-1-contact@artur-rojek.eu> <20200709152200.10039-3-contact@artur-rojek.eu> <20200712130222.76bf32ed@archlinux> In-Reply-To: <20200712130222.76bf32ed@archlinux> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=analog.com; x-originating-ip: [188.27.128.12] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: d22a6b1b-383e-47dc-3251-08d826eaada3 x-ms-traffictypediagnostic: DM6PR03MB3931: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:10000; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: uML8PN1y5+5kVmckiQ5HFgyQsCpLcD/uRfc7tCTBBKOs3LqCvM1dzqVxaF/fAAdZdem1d8pYxgFP+mSOPPWmBCQqy/YrmSU34DFb/HxSKicESwZbPSADIbLGRa3bXq0ZAKEGhXnc83f4Uq2BgRA3gBJ9IuPUds1UwryGNmpeEgrS2ixuzg2ZBSgCGvvebcEwDrCJGMLm9Lme5cSAIJAeUwvWIrbnlZZaIa2ivGrkKiamPsKCSwmqxJCSJaz1aT3klaD8T54D8a6j0ESS/Qg0I4Q9cNY8Y8sNe3BxhNDdQPMgntJ+zuIX6uU7CvW2TwVs x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR03MB4411.namprd03.prod.outlook.com;PTR:;CAT:NONE;SFTY:;SFS:(346002)(366004)(396003)(376002)(39860400002)(136003)(36756003)(5660300002)(6486002)(8936002)(2906002)(6506007)(2616005)(316002)(71200400001)(86362001)(110136005)(8676002)(186003)(26005)(6512007)(478600001)(66446008)(64756008)(66556008)(66476007)(66946007)(54906003)(76116006)(91956017)(4326008)(83380400001)(7416002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: yU8dm6/OLqSQhKBRue2NAjkRR2ucjX6utQWHS63h7ssb0bZyOQD2mIvSy2pYNb2epZKnPWvLN8Zzmzm0/1HoMn2Z1aP+qgxPFy2XCykmb92Pw8tr1Qei1OdESVtuI4ddj6fDX+XFGAMHby0iWuaSLctHUoB6t2vnOlDbuz8rr0ovzKl1lqU5a4lgznjp10z+8OWK2Q7YF8S/+0FbVOjvst7Mnidl7JfkYQXWrAnM4/nqAcI0XczCEY3cuPq71Iis3DixZluPyLEHyDo68RH0aRY6cyGxYYtuvLLUJGQnC6HWc8xDHf3HtroLXgtbXweRRwsWJT2dCSRJ9QRZHAjg+TFiOSTGA2PCXJw8t9NR6m+bXz5LCs7SesSdD9jfYtfIE9oklhJD1ebg6hka4SvE9w45JdfYTjCOjWY6ucbjNqYdYKjALhMfsGkKasCFsM31DpcJikBX8JcxsHTlT6pP3nbXZjPbGUTGlkQAoD9X5qg= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: analog.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR03MB4411.namprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d22a6b1b-383e-47dc-3251-08d826eaada3 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Jul 2020 05:07:44.8072 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: eaa689b4-8f87-40e0-9c6f-7228de4d754a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: U0lQAqj7fAlrIp/lup9RT/8Rpj7EPTxPsZq64kRWbdhi9O4CY0UyITfpGwaGyZVU/SHjx179OF0aNHvX9CzW9icvOSQr3vUF9UgP4To+y/8= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR03MB3931 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-13_03:2020-07-10,2020-07-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 priorityscore=1501 impostorscore=0 suspectscore=0 mlxlogscore=999 malwarescore=0 bulkscore=0 adultscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2007130037 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU3VuLCAyMDIwLTA3LTEyIGF0IDEzOjAyICswMTAwLCBKb25hdGhhbiBDYW1lcm9uIHdyb3Rl Og0KPiBPbiBUaHUsICA5IEp1bCAyMDIwIDE3OjIxOjU2ICswMjAwDQo+IEFydHVyIFJvamVrIDxj b250YWN0QGFydHVyLXJvamVrLmV1PiB3cm90ZToNCj4gDQo+ID4gSW50cm9kdWNlIGVycm9yIGNo ZWNrcyBmb3IgdGhlIGNsa19lbmFibGUgY2FsbHMgdXNlZCBpbiB0aGlzIGRyaXZlci4NCj4gPiBB cyBwYXJ0IG9mIHRoZSBjaGFuZ2VzLCBtb3ZlIGNsa19lbmFibGUvY2xrX2Rpc2FibGUgY2FsbHMg b3V0IG9mDQo+ID4gaW5nZW5pY19hZGNfc2V0X2NvbmZpZyBhbmQgaW50byByZXNwZWN0aXZlIGxv Z2ljIG9mIGl0cyBjYWxsZXJzLg0KPiA+IA0KPiA+IFNpZ25lZC1vZmYtYnk6IEFydHVyIFJvamVr IDxjb250YWN0QGFydHVyLXJvamVrLmV1Pg0KPiA+IFRlc3RlZC1ieTogUGF1bCBDZXJjdWVpbCA8 cGF1bEBjcmFwb3VpbGxvdS5uZXQ+DQo+IEFwc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