Received: by 10.213.65.68 with SMTP id h4csp218579imn; Tue, 13 Mar 2018 01:51:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELvb5t5U+gsEagg9yFfysbthRr7n5v++ZJ1fRI/Cv+yNzaU1zIvi97jTxyzjW1EQufk/lR8Q X-Received: by 10.98.107.134 with SMTP id g128mr6620125pfc.238.1520931091412; Tue, 13 Mar 2018 01:51:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520931091; cv=none; d=google.com; s=arc-20160816; b=POmmnv/zpT8UroI+Z2XJhz+MTqfRNSL8mw/B+xD1tBqHzDE37Q/J10qSsJxL1xhgJ8 k/r1DEIcUZXwUVFf8DK3bC27DKOK0tRsywLCf+Ij5dbS+yLuNJiFj4cuRJ0AxToCumNl PGZOWs39j1OEJPZsxdbP333Jt0rWP0gCc/2swF+rJB1216n0WiI9+j3IkURvUa045kCQ lu3zbIXJBrtw+00cR+H08ZWBCXpsGLt5vW2XGWSeTDAMzz6RbWWLn8zsk+0LFidG+AI1 /GIuYSRNXTfaRvnx7WxXMgkly5bYNNjTtije+x6XnybeYMiO2006nXkCmyNr3yVuFYg1 5yPg== 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=LN1TrBkq5JLwlIQvSc7zuPfFs9eKZIm6UWIz2N8ltcs=; b=XauWzm7O1QFt4+2YI0CK+qOyrzEsph+U2ICMiMmQMPAeYdOxAnAzJN/78ztKLxvpVN fruQLOO41rY9mkyTU1Nx3gS9jItFMthyHDA9iQ4cK+I+sAoYlfM3JbeNLulept2Cu1Uu qXCud4923TmejunOohRT22R0SixygjYpiRfGE2pMw2vhXPp5eqAuTYYDMqp5sdxtGGeT aO96w3mKC2ImSNEO6hemIW8rsuN8TJ7bcz9x25KOPdgRNBlVzsXJv63gPzdv0t0SaBlc regUChPsDQSog8ezo0bJxLbMi0+gKxEO67mLNuyDOnI9MhloatcXPYzaDs0UG7b+ZRL9 7ofg== 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 w64si297877pgd.176.2018.03.13.01.51.17; Tue, 13 Mar 2018 01:51:31 -0700 (PDT) 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 S1752546AbeCMIs5 (ORCPT + 99 others); Tue, 13 Mar 2018 04:48:57 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:65312 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751666AbeCMIsy (ORCPT ); Tue, 13 Mar 2018 04:48:54 -0400 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 w2D8iUgk021431; Tue, 13 Mar 2018 09:48:34 +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 2gp8k5gu2b-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 13 Mar 2018 09:48:34 +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 B62F938; Tue, 13 Mar 2018 08:48:33 +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 7531B4E55; Tue, 13 Mar 2018 08:48:33 +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; Tue, 13 Mar 2018 09:48:32 +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; Tue, 13 Mar 2018 09:48:32 +0100 From: Patrice CHOTARD To: Yannick FERTRE , Vikas MANOCHA , Benjamin Gaignard , Philippe CORNU , Patrick DELAUNAY , Christophe KERELLO , Archit Taneja , Andrzej Hajda , Laurent Pinchart , David Airlie , Brian Norris , Bhumika Goyal , Gustavo Padovan , "Maarten Lankhorst" , Sean Paul , Albert Aribaud , "Simon Glass" , Anatolij Gustschin , Thierry Reding CC: "u-boot@lists.denx.de" , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 02/10] video: stm32: stm32_ltdc: update debug log Thread-Topic: [PATCH v2 02/10] video: stm32: stm32_ltdc: update debug log Thread-Index: AQHTsj1TW7mF4mCqBkeNY1FYN4aH5aPN2uMA Date: Tue, 13 Mar 2018 08:48:32 +0000 Message-ID: <98fdd796-befe-61b4-ec02-819420ac9d66@st.com> References: <1520005451-23217-1-git-send-email-yannick.fertre@st.com> <1520005451-23217-3-git-send-email-yannick.fertre@st.com> In-Reply-To: <1520005451-23217-3-git-send-email-yannick.fertre@st.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.45] Content-Type: text/plain; charset="utf-8" Content-ID: <7F33010E319B8D49AB59FBFD74C4778B@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-13_04:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgWWFubmljaw0KDQpPbiAwMy8wMi8yMDE4IDA0OjQ0IFBNLCB5YW5uaWNrIGZlcnRyZSB3cm90 ZToNCj4gUmVwbGFjZSAgbWFjcm8gZGVidWcgYnkgcHJfZXJyb3IsIHByX3dhcm4gb3IgcHJfaW5m by4NCj4gDQo+IFNpZ25lZC1vZmYtYnk6IHlhbm5pY2sgZmVydHJlIDx5YW5uaWNrLmZlcnRyZUBz dC5jb20+DQo+IC0tLQ0KPiAgIGRyaXZlcnMvdmlkZW8vc3RtMzIvc3RtMzJfbHRkYy5jIHwgNjIg KysrKysrKysrKysrKysrKysrKystLS0tLS0tLS0tLS0tLS0tLS0tLQ0KPiAgIDEgZmlsZSBjaGFu Z2VkLCAzMSBpbnNlcnRpb25zKCspLCAzMSBkZWxldGlvbnMoLSkNCj4gDQo+IGRpZmYgLS1naXQg YS9kcml2ZXJzL3ZpZGVvL3N0bTMyL3N0bTMyX2x0ZGMuYyBiL2RyaXZlcnMvdmlkZW8vc3RtMzIv c3RtMzJfbHRkYy5jDQo+IGluZGV4IGJkOWMwZGUuLmU5NWYzNWMgMTAwNjQ0DQo+IC0tLSBhL2Ry aXZlcnMvdmlkZW8vc3RtMzIvc3RtMzJfbHRkYy5jDQo+ICsrKyBiL2RyaXZlcnMvdmlkZW8vc3Rt MzIvc3RtMzJfbHRkYy5jDQo+IEBAIC0xNzYsMTMgKzE3NiwxMyBAQCBzdGF0aWMgdTMyIHN0bTMy X2x0ZGNfZ2V0X3BpeGVsX2Zvcm1hdChlbnVtIHZpZGVvX2xvZzJfYnBwIGwyYnBwKQ0K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