Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp105732ybg; Tue, 28 Jul 2020 00:51:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy0UiWtiK1zl/nkBN0fLesqaQay+HwGGQlZqv+kakhFl4n27G2on2ugGS4TX8LqYBU+o/9E X-Received: by 2002:a17:906:160f:: with SMTP id m15mr25568480ejd.423.1595922662488; Tue, 28 Jul 2020 00:51:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595922662; cv=none; d=google.com; s=arc-20160816; b=xYeNGQRvj3tCV+5J2WLrYN8Kctk1qVDet2HO4F613FsIN4jwoDGggC1nLqSXnj6Xgm E7d7n8xyJKnzd3TeDtfkgo2ecV9Io2re+GQyVrEvAz/7DZ/cKM1B2zCGSVMq2bHNDpqG y+Lkjf0CLmgCM9a5wzEheDBwHHSC3wPE392ff6wwKv8HqQ97MXecxrX+J42mO301HT5N wcaqIYSbg+v9uONJFcQK+PdTLWhx9cDUwmRCC/u9toUxqkmt8XAAb0KN88lpMxiEdwwq un11ry3piv5WiFn6HQPg/M9gJhWAYiRHHpzCKDCVsBFAIw1LYvsukjhH0mAonTxZL74u +IdA== 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=NkOHTuIum3uJvQxrbwjluQtz8Ukz7QuQntHgqGitDlw=; b=eaH+NtDicLrwjzGa3ruf/kLr8Nuifc7XM5a9g3xYL1aTRP9z345eUGVLVHNhV9i9wx Hv8bLqZJLjDgC9ZSHc9DnsD8ROfTVoOigxzawKuz6n3+ysEnLQ4amcNNUbQhr2BIraS3 39K50Ki3ycLLo4NkmzrCHFqBki+RA35N1kd9qPvMLYbN/nhAI0FfTut3gVWOnrVX5zQi z/SExsVf8fCKUi21auuMEBpYwwzE6T6B9muhLq5am8P/KArqHaY5gaxng3zdt5Vyhtl9 CBnczSNmlgt6yhazsZL0b2/BdlDKc/3hKEmvC36EGp6Jw24ToVRJF6bu362B/6NSeHSx ZCnA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=bojODVCb; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u12si6996572edp.476.2020.07.28.00.50.39; Tue, 28 Jul 2020 00:51:02 -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=@st.com header.s=STMicroelectronics header.b=bojODVCb; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727930AbgG1HsY (ORCPT + 99 others); Tue, 28 Jul 2020 03:48:24 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:21452 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727815AbgG1HsX (ORCPT ); Tue, 28 Jul 2020 03:48:23 -0400 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 06S7lixs021797; Tue, 28 Jul 2020 09:48:12 +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=NkOHTuIum3uJvQxrbwjluQtz8Ukz7QuQntHgqGitDlw=; b=bojODVCblJyp8S4KJpH6pSb/TKSHi0RXB7DGidnYw1C6ywC2eUcka5l6Y0c5/IyQwKrY sWfnyugYKcJlPg6+ge0GlvzoseuKAyWY9gcVm1c5m8GYcROqZMzXTZr3KcYF00/6YlLE 0lnZFPwsC+rV1lZVAd195muEDXv6DrWLq28lNmA0fRog8KRmXEojSnpuFKm3zq0QYaUa A43rcrPfMr0UajwkhpN4cQGk2AW+Au8pW/tPBA52KPIlYC1JbnD6k5KKrOAx0Dqt0Rcl 8DQMcpfyE01+bI64/+HqmSskt3F0K7T3lwh9s1zYvPGJsW4a7oTeclfJ0dYmneGsqHhY CQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 32gagv4yy8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 28 Jul 2020 09:48:12 +0200 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id E828610002A; Tue, 28 Jul 2020 09:48:11 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id D2CFA21FEA2; Tue, 28 Jul 2020 09:48:11 +0200 (CEST) Received: from SFHDAG5NODE1.st.com (10.75.127.13) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 28 Jul 2020 09:48:11 +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.1473.003; Tue, 28 Jul 2020 09:48:11 +0200 From: Hugues FRUCHET To: Alain VOLMAT , "mchehab@kernel.org" CC: "mcoquelin.stm32@gmail.com" , Alexandre TORGUE , Yannick FERTRE , "hans.verkuil@cisco.com" , "linux-media@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 1/2] media: stm32-dcmi: create video dev within notifier bound Thread-Topic: [PATCH 1/2] media: stm32-dcmi: create video dev within notifier bound Thread-Index: AQHWZKm2hQlOt6e2MkK9C4kMLjRhyqkce/UA Date: Tue, 28 Jul 2020 07:48:11 +0000 Message-ID: <5650a872-3352-64cb-2f35-94e2be3b187f@st.com> References: <1595918278-9724-1-git-send-email-alain.volmat@st.com> <1595918278-9724-2-git-send-email-alain.volmat@st.com> In-Reply-To: <1595918278-9724-2-git-send-email-alain.volmat@st.com> 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:68.0) Gecko/20100101 Thunderbird/68.7.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.46] Content-Type: text/plain; charset="utf-8" Content-ID: <0E5966DDEF578E4E9CEA2E6722F65B2D@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.235,18.0.687 definitions=2020-07-28_01:2020-07-27,2020-07-28 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org UmV2aWV3ZWQtYnk6IEh1Z3VlcyBGcnVjaGV0IDxodWd1ZXMuZnJ1Y2hldEBzdC5jb20+DQoNCk9u IDcvMjgvMjAgODozNyBBTSwgQWxhaW4gVm9sbWF0IHdyb3RlOg0KPiBJbiBjYXNlIG9mIGFuIGVy cm9yIGR1cmluZyB0aGUgaW5pdGlhbGl6YXRpb24gb2YgdGhlIHNlbnNvciwNCj4gdGhlIHZpZGVv IGRldmljZSBpcyBzdGlsbCBhdmFpbGFibGUg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