Received: by 10.223.185.116 with SMTP id b49csp8763491wrg; Fri, 2 Mar 2018 07:33:05 -0800 (PST) X-Google-Smtp-Source: AG47ELurEdTjQVikVHzSrKz7Ggy2e/k3hSzEIm+39Rdfy82vcz0H8P15cta1pAIOOJE/dbXWt8aJ X-Received: by 10.98.202.23 with SMTP id n23mr6072941pfg.52.1520004785081; Fri, 02 Mar 2018 07:33:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520004785; cv=none; d=google.com; s=arc-20160816; b=eVnZcVRhRD+5jMzYXNwc/cffgQMq5BZEohk7WOGfKvy+7GEKthpzFqpEYJp4WbyS1Z ld9au+tEhSmoAOmosefJVB2VqZmfzpadR1t28cwtPlirJzWpkLXfDDV2FT5tvu/l/YFq 16xSA3urizch7ELWHXFICVOIqVDf+qHxFr4JHtOJT7z19kdn3Q6OxnRqoauG38e/kv6v kfrFw2XavwvhWZab3KfDBIwK3/Y1CsT3G7m11/mSOYyEqxAWfFODrGbVlIHEaFybwsi6 ypIHJGDm168kf8uDO9UbNVrqn1B6B+DOyLRks3MgIsn9m77jfmdNfkcgfKLKGxNR0l5P yjew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:arc-authentication-results; bh=T58GZ3n9iZ7lo58o5/zgMpxliS7kDuaupppQFuKgi4A=; b=XefIScZFl5ut4cZvPNFWugoayEMLEk6JGgHaLdGrDktKhvNo/W0sMW86suXnhAwQiy eSfPSVMuskTWmEAreZShVdJJY1pt9Sr/jN2H+XE9BoB6r7c31sHGQZ7FBbCZ9D08vPCN Q5ZiG4TM3hk7FLWeKhOvvOtT1jkObBdolUZQuKW4eHjPJsVqmfzc4KIyDEJbya6V194G gQ3hwKKtoH2HuuIH3g5p12OjAyrIs9tJRF8SgVcAJPp+K4fn52f8J+vupyPb3yCXE1iN Jbzmm0BM9rOUXjMVE1fp0rHOzBvc/g4ahcKubUkmAKTlxi6K5BCibJOKERXl7BctrEgD Ljdw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j61-v6si4956019plb.395.2018.03.02.07.32.50; Fri, 02 Mar 2018 07:33:05 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1427985AbeCBNQy (ORCPT + 99 others); Fri, 2 Mar 2018 08:16:54 -0500 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:7338 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1424439AbeCBNQl (ORCPT ); Fri, 2 Mar 2018 08:16:41 -0500 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id w22DDsCg009032; Fri, 2 Mar 2018 14:15:51 +0100 Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2gbwb1kh69-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 02 Mar 2018 14:15:51 +0100 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 279B831; Fri, 2 Mar 2018 13:15:50 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag6node2.st.com [10.75.127.17]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E4CB65A56; Fri, 2 Mar 2018 13:15:49 +0000 (GMT) Received: from SFHDAG6NODE3.st.com (10.75.127.18) by SFHDAG6NODE2.st.com (10.75.127.17) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Fri, 2 Mar 2018 14:15:49 +0100 Received: from SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6]) by SFHDAG6NODE3.st.com ([fe80::d04:5337:ab17:b6f6%20]) with mapi id 15.00.1347.000; Fri, 2 Mar 2018 14:15:49 +0100 From: Philippe CORNU To: Andrzej Hajda , Archit Taneja , Laurent Pinchart , David Airlie , "Brian Norris" , Benjamin Gaignard , Bhumika Goyal , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , Sandy Huang , Heiko Stubner , "linux-arm-kernel@lists.infradead.org" , "linux-rockchip@lists.infradead.org" CC: Yannick FERTRE , Vincent ABRIOU , Alexandre TORGUE Subject: Re: [PATCH] drm/bridge/synopsys: dsi: readl_poll_timeout return value clean up Thread-Topic: [PATCH] drm/bridge/synopsys: dsi: readl_poll_timeout return value clean up Thread-Index: AQHTngA8EO6d0iime02JI6Vf5496FaO7Kq8AgAGo+oCAADC8gA== Date: Fri, 2 Mar 2018 13:15:49 +0000 Message-ID: <587f8a32-b9b3-0e81-d91d-69ea256bdc29@st.com> References: <20180204213624.18288-1-philippe.cornu@st.com> <172e7f68-8f4b-7e5f-3e9f-7aaf10a51dc9@st.com> <290c749a-70bf-2b74-1fb9-2de26708d001@samsung.com> In-Reply-To: <290c749a-70bf-2b74-1fb9-2de26708d001@samsung.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.48] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-02_07:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgQW5kcnplaiwNCg0KDQpPbiAwMy8wMi8yMDE4IDExOjIxIEFNLCBBbmRyemVqIEhhamRhIHdy b3RlOg0KPiBPbiAwMS4wMy4yMDE4IDEwOjAwLCBQaGlsaXBwZSBDT1JOVSB3cm90ZToNCj4+IEhp IEFyY2hpdCwgQW5kcnplaiAmIExhdXJlbnQsDQo+Pg0KPj4gTWF5IEkgYXNrIHlvdSBwbGVhc2Ug eW91ciBmZWVkYmFjayBvbiB0aGlzIHNtYWxsIHBhdGNoPw0KPj4gTWFueSB0aGFua3MsDQo+Pg0K Pj4gUGhpbGlwcGUgOi0pDQo+Pg0KPj4gT24gMDIvMDQvMjAxOCAxMDozNiBQTSwgUGhpbGlwcGUg Q29ybnUgd3JvdGU6DQo+Pj4gVGhlIHJlYWRsX3BvbGxfdGltZW91dCgpIHJldHVybiB2YWx1ZSBp cyAwIGluIGNhc2Ugb2Ygc3VjY2Vzcw0KPj4+IHNvIGl0IGlzIGJldHRlciB0byBkZXRlY3QgZXJy b3JzIHdpdGhvdXQgdGFraW5nIGNhcmUgb2YgdGhlDQo+Pj4gcmV0dXJuIHZhbHVlIHNpZ24uDQo+ Pj4NCj4+PiBTaWduZWQtb2ZmLWJ5OiBQaGlsaXBwZSBDb3JudSA8cGhpbGlwcGUuY29ybnVAc3Qu Y29tPg0KPiANCj4gVGhlIHBhdGNoIGlzIG9mIGNvdXJzZSBjb3JyZWN0LiBIb3dldmVyIEkgYW0g bm90IHN1cmUgaWYgbmVjZXNzYXJ5LiBGb3INCj4gc3VyZSBmdW5jdGlvbmFsbHkgaXQgZG9lcyBu b3QgY2hhbmdlI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