Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1115438ybg; Tue, 2 Jun 2020 01:34:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyGp55DKnu5CrpYws+K8eYGYQ3ENSlSPiPlczEM9b5UzEiyHHYXN/aZmFCC6tpmMXxPbfQ1 X-Received: by 2002:a05:6402:897:: with SMTP id e23mr25780293edy.217.1591086889265; Tue, 02 Jun 2020 01:34:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591086889; cv=none; d=google.com; s=arc-20160816; b=D+nc0TROVQkR5p5GWtsJJaUWkFM9ze4bW2L61m8rlJp7VXamI38PtF0Z1leJgtNJuv BeyjzYBtTFlqBZ5cR1wKgc3p9eewMca5vozbDWhrgFdlOmJXjPJI22I0kumnLrTE2aif 0TQIEseToR0F29kZeGHLdV3d5Csq93EN0S9k4eae9kAJItKctz0d6gjZn4erz+b8wpFC JnLp58UKvAm9OVsjDwGvEokSj372jjPlEdEaCkVhkfjHJN0vRtDiTJMHtstw8rfCOKbn 2O19bl5qWQTdpS/Y7ggE9eCQxjS1T2gtVkl4gW2DXC/tVxCoQURRk3xdTEFsLVFcLZ1i 6WfA== 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=6XTqD4oSlrbjM9/x3g1YaVOoeoVL9aa2OTi5ThyuPwU=; b=amnbBl4b9ziCRt/ohdWyLU4TeN2k2hat1n4Gz192RsDb0b1jwr1iN9WLqrTUYohu4A Zj7qxNn6LYwnIFEDUXFiNm6uS2PgpSY9Ka5cMoqDlZYfd9x4UEPgeeOwklylFH/zAGqX mAf6XLFC3mc7w4W191n9cbU8QxqW1XoG7rSh36GQnf190OiXDZSGt3VodwuKvG5zdH4s o41NBOWefrnWSDxiQMmVE22LRN+J2DbrXQj0zwUVv440k9f7xn0fhX8fz0xjDtU2j71e SdJNW7Uw4xDALESeiNVa2vjMPQTCPnHSLjX5tDhE8icKsWXawRsm9mDN+vlVdO+SW9Ii DZUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=k09ef3Uy; 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 mj1si1063110ejb.668.2020.06.02.01.34.26; Tue, 02 Jun 2020 01:34:49 -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=k09ef3Uy; 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 S1726420AbgFBI3z (ORCPT + 99 others); Tue, 2 Jun 2020 04:29:55 -0400 Received: from mx07-00178001.pphosted.com ([62.209.51.94]:31472 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725897AbgFBI3y (ORCPT ); Tue, 2 Jun 2020 04:29:54 -0400 Received: from pps.filterd (m0046668.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 0528SDJr026270; Tue, 2 Jun 2020 10:29:38 +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=6XTqD4oSlrbjM9/x3g1YaVOoeoVL9aa2OTi5ThyuPwU=; b=k09ef3UywWNyT67MNoGBHI4ZPUwtwJR6gOuT1+2KnA+ifAvFV6a5VYVL0hKX/ckO5/o4 ITQgyRe7JF5o7ZEaY/b1mlOGAFz/E0tg5kJK7kFMAOmk/EOXFpLEAWKDuhvQLm+RqLp3 BKCKTERRngN/N5C0LLulBMBorgDnpzZxUkf9d50rwRvujWBreb+2x7yMUdokyUYi0uDN 4ZEy3o5LEBlH+qmPrVYeIDiq+MO6JpndyQmfmiekY3L9MGNgkviKgp6ZF/W8iyPRA0ks qqShYb1lUKr+Me++2/IKQ0VMnvQgSOaAdxZVQFLp8EBQk8G+Tj32Y1mZ1BE+a6a9VshR Tg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 31bcy0dbp8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 02 Jun 2020 10:29:38 +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 D80D410002A; Tue, 2 Jun 2020 10:29:36 +0200 (CEST) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id A661A2AAD1F; Tue, 2 Jun 2020 10:29:36 +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, 2 Jun 2020 10:29:36 +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, 2 Jun 2020 10:29:36 +0200 From: Hugues FRUCHET To: Benjamin GAIGNARD , "mchehab@kernel.org" , "mcoquelin.stm32@gmail.com" , Alexandre TORGUE CC: "linux-media@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , "vincent.guittot@linaro.org" , "valentin.schneider@arm.com" , "rjw@rjwysocki.net" Subject: Re: [PATCH] media: stm32-dcmi: Set minimum cpufreq requirement Thread-Topic: [PATCH] media: stm32-dcmi: Set minimum cpufreq requirement Thread-Index: AQHWNDnEu2gs2ws6JUCiuNPgKFH4kKjE5e6A Date: Tue, 2 Jun 2020 08:29:36 +0000 Message-ID: References: <20200527151613.16083-1-benjamin.gaignard@st.com> In-Reply-To: <20200527151613.16083-1-benjamin.gaignard@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.48] Content-Type: text/plain; charset="utf-8" Content-ID: <5C415AA3C357474291DF12AFD1D350E4@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.216,18.0.687 definitions=2020-06-02_11:2020-06-01,2020-06-02 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWNrZWQtYnk6IEh1Z3VlcyBGcnVjaGV0IDxodWd1ZXMuZnJ1Y2hldEBzdC5jb20+DQoNCk9uIDUv MjcvMjAgNToxNiBQTSwgQmVuamFtaW4gR2FpZ25hcmQgd3JvdGU6DQo+IEJlZm9yZSBzdGFydCBz dHJlYW1pbmcgc2V0IGNwdWZyZXEgbWluaW11bSBmcmVxdWVuY3kgcmVxdWlyZW1lbnQuDQo+IFRo ZSBjcHVmcmVxIGdvdmVybm9yIHdpbGwgYWRhcHQgdGhlIGZyZXF1ZW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