Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3472179ybi; Tue, 2 Jul 2019 08:21:27 -0700 (PDT) X-Google-Smtp-Source: APXvYqxrMzHxazLiDRAqbAIEMf3CMDn9d1MxNQTZosVE4kJKpJjoWIXETJ4R0ZKHZcrSns+0/809 X-Received: by 2002:a63:221c:: with SMTP id i28mr27618291pgi.114.1562080887083; Tue, 02 Jul 2019 08:21:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1562080887; cv=none; d=google.com; s=arc-20160816; b=VviXRLth2JQOwn0DzGjgAFGSBquHEY57rNbD8kszkrpClqdIpgIwMyUEuq3KK7JTP/ 7HVjJtRxvdhn2oxg3iJbCCXpXz4yusTtcASlGjelKXYt59/1/2t9PpJTe0Pn5YJvxJ1f v/i9zgfiCv6Qj3lYmLb5+WHjrLtG+PwyTdoPPr6QuuEXRZSPLJBl6uUhvHdKVgSqHJjE o/Va34ZblZCxFLqwPiDCdyQAV+apv33Z5Q+vCVhnhrIix7YQkYU1SejBmb20OItdC8Xd XU8Xitm7yExIVpnaIW9F970qSpetVwCI2gNw7ZhH3NPtopfwthvSTnCGmA5lM8aYDLmY gPiA== 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:dkim-signature; bh=8w4SjA0DZ2W6T+fEVlEuWHyyvofsc45yKJFB1OGSjDQ=; b=gveheBecvaqy4jCgF52hxciDM5snsKkoi717XSIqzsYhbIBjh7bYyTsKnaVfdtLU9a mg4QFXqG5fElOWuRcwMX9/ayee1ykq7nofgLkmJCSPXawobP1HEABEo34SBmZjbzNIP9 grqD8pusIwRTcCnIKlBbj+TB8juQ3vgpCYf7nBJE9t8+Nc/vcCzD31PDMPyfYcUH7Tff obHxMpp+4/3genRAexwWiraToCat1LC27gpwVl/7KIHMiB9omXZTPvr+Fe5ixqF9nqog hH0vZvoUwPa91GcPCAVUixF4PCL+HB4ndspdmno6zX6PL9q4bOpu3FporiO+jASmKgy2 WzVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="iLktCy/D"; 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 h16si2470063pjt.12.2019.07.02.08.21.12; Tue, 02 Jul 2019 08:21:27 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b="iLktCy/D"; 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 S1726642AbfGBPTN (ORCPT + 99 others); Tue, 2 Jul 2019 11:19:13 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:7028 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725981AbfGBPTN (ORCPT ); Tue, 2 Jul 2019 11:19:13 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x62F6vS2023247; Tue, 2 Jul 2019 17:18:57 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=8w4SjA0DZ2W6T+fEVlEuWHyyvofsc45yKJFB1OGSjDQ=; b=iLktCy/Dzxwr4cRz36vk2PioowINaJYSxeZjAV9A5xG3R/Ulptoz/0VVp3M7ZGWRI17l Gc5aHG6ThwH2jEJz6SSQVBX/kw/+ObzqZyWNXCpsqSWnuZen7cUKq2/na+3ik++EiHE5 5yhm4seRB8EiRIXKI6SxM3fjNGkhDLl74w0VPY6lLIm1a8vweaI2eTBkbI/6wSQm0HrI 4bJIASNWzEX9VEw7dS8qR9BJ5p30keCo4WBLkC5echYavI4TwUrCFHxZEoSHsDJr/jsU 5UokVxoiQQfwQdIVjUxcL+K42DfO3rbwLSZnU4yNIyZQHHRkMcs1aRCmgPDfoHDM3iH+ Ig== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 2tdwruvvk8-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 02 Jul 2019 17:18:57 +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 D0D9434; Tue, 2 Jul 2019 15:18:55 +0000 (GMT) Received: from Webmail-eu.st.com (sfhdag3node1.st.com [10.75.127.7]) by zeta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 87F232B39; Tue, 2 Jul 2019 15:18:55 +0000 (GMT) Received: from SFHDAG5NODE1.st.com (10.75.127.13) by SFHDAG3NODE1.st.com (10.75.127.7) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 2 Jul 2019 17:18:55 +0200 Received: from SFHDAG5NODE1.st.com ([fe80::cc53:528c:36c8:95f6]) by SFHDAG5NODE1.st.com ([fe80::cc53:528c:36c8:95f6%20]) with mapi id 15.00.1347.000; Tue, 2 Jul 2019 17:18:55 +0200 From: Hugues FRUCHET To: Hans Verkuil , Alexandre TORGUE , Mauro Carvalho Chehab , "Sakari Ailus" CC: "linux-media@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , Benjamin Gaignard , Yannick FERTRE , Philippe CORNU , Mickael GUENE Subject: Re: [PATCH v2 2/3] media: stm32-dcmi: add media controller support Thread-Topic: [PATCH v2 2/3] media: stm32-dcmi: add media controller support Thread-Index: AQHVJ1/zX3VDRyykMUmSGPlvZRClvaa3YqQA Date: Tue, 2 Jul 2019 15:18:55 +0000 Message-ID: References: <1560242912-17138-1-git-send-email-hugues.fruchet@st.com> <1560242912-17138-3-git-send-email-hugues.fruchet@st.com> <0ad39c36-5636-b2a6-8098-a1b38e7f907d@xs4all.nl> In-Reply-To: <0ad39c36-5636-b2a6-8098-a1b38e7f907d@xs4all.nl> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.1 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.51] Content-Type: text/plain; charset="utf-8" Content-ID: <1C73814F2F518F488F70CD1625D9E91D@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2019-07-02_08:,, signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgSGFucywNCg0KT24gNi8yMC8xOSAyOjAxIFBNLCBIYW5zIFZlcmt1aWwgd3JvdGU6DQo+IE9u IDYvMTEvMTkgMTA6NDggQU0sIEh1Z3VlcyBGcnVjaGV0IHdyb3RlOg0KPj4gQWRkIG1lZGlhIGNv bnRyb2xsZXIgc3VwcG9ydCB0byBkY21pLg0KPj4NCj4+IFNpZ25lZC1vZmYtYnk6IEh1Z3VlcyBG cnVjaGV0IDxodWd1ZXMuZnJ1Y2hldEBzdC5jb20+DQo+PiAtLS0NCj4+ICAgZHJpdmVycy9tZWRp YS9wbGF0Zm9ybS9LY29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