Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp252877ybl; Tue, 7 Jan 2020 05:40:40 -0800 (PST) X-Google-Smtp-Source: APXvYqwiUU03HNJfklldQkHk0QWdzNpQMRGeaCfA6h/En304UZV01GaH2HG6h0gtyepXEoWilJz6 X-Received: by 2002:a05:6830:1248:: with SMTP id s8mr120634288otp.202.1578404440453; Tue, 07 Jan 2020 05:40:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578404440; cv=none; d=google.com; s=arc-20160816; b=uWCBcX0Rpf8ahz3gSLFjbBD/5q63S38zKG39i5Be/lOM+0I6GHY0K75yD3ybbMODDc Ag9N2fwuPvdxpfoeUW6q/F/m9j0qmVrL9m4g6BBUtzyP1TKtHFjHz1L09bAT3El8ufAB vbPp1nzYTqPk9ddrBw+mvaFXu8kMqsggl1XQ5MBEZIZcHSkHnr1CYZfrpDFIhP1JRhVM /He0vY/GqkqfLxqJhwbm7JeDpSabmnRV2Tb1rt9hKWhuNLzjjcndkT1IGJqVIKFRHu5x a7UoZAskV3itIDJmNMI98axRo4pQSKfAbjI1s6NZbtZrVgZe3oAQdPDenmlDxcV/7o2D D+jw== 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=hrhmpFzlfUlO5AOZGZPbwj2tFWCn5tB6qmmLQMyDAvU=; b=rP7yyrpn5uarIiMqI4HMOz2/OWU17s6K6xyJcGq1hb52K1A7m+RIdvBV49XAAZRi9h +fLiMJWD4vzG2R4BSGIN75MRywfQr4G0h8YmvqP/QobGwRUM/5QuCDiOmYpBgmQvG0i/ dvJP67IAdxhGV1rY/3d5B+1UaIxj90JF2GQYUvu1gMerXNBX0rkw73TlQLLM/wh4PhB1 +4JLNycQxfOd0sB90X8dYmqHYSpZ9D9rZhmrk89l0DeEcEnYlFuCxEBEkp38Bb/mg3yt ns2970hQ69R7XP0A16La5g/6Url12Mm4bKnBhMCsFFEncv0dNCqRrucLXDWVPdwUZ+lG dSaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=Nb8o6Fmj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 101si36250960otm.168.2020.01.07.05.40.20; Tue, 07 Jan 2020 05:40:40 -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; dkim=pass header.i=@st.com header.s=STMicroelectronics header.b=Nb8o6Fmj; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=st.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728232AbgAGNjK (ORCPT + 99 others); Tue, 7 Jan 2020 08:39:10 -0500 Received: from mx08-00178001.pphosted.com ([91.207.212.93]:37554 "EHLO mx07-00178001.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728174AbgAGNjK (ORCPT ); Tue, 7 Jan 2020 08:39:10 -0500 Received: from pps.filterd (m0046661.ppops.net [127.0.0.1]) by mx08-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 007DcqWo009126; Tue, 7 Jan 2020 14:38:58 +0100 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=hrhmpFzlfUlO5AOZGZPbwj2tFWCn5tB6qmmLQMyDAvU=; b=Nb8o6FmjHWuJtzNAQHb4fyuaOxive3FlitALbHr7WkGNLsn8lH9bd9QPKoiUgO7uGWII UX9hZHyxacfr/ONER4JPa+NjhmMmxeVU/KaXOiCCrkSQaYd8CTq0IrBw5S2/Tt2qKIkX ixojBNZPXSlIpOvTTCATjON/ekoA+8LIAvTcvJ5bmVFEvcHcZzNa+d4SNr+MFsI6G286 gxUJNj+Gso7qoKV8Cu5jOs7LjWXt0Tz1vYJ+uwZ/C+9is37YkkG4tpBm3BCj5xW9WFdT vC/ts3sQwgIQUZ9XAGO15F3hVxv5aC4Mm9Lsm2JE9o4XkhKt+JT0LC21E0flD5eNA7SR vQ== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx08-00178001.pphosted.com with ESMTP id 2xakvb6hgb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 07 Jan 2020 14:38:58 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 5F30510002A; Tue, 7 Jan 2020 14:38:57 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag3node3.st.com [10.75.127.9]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 4F0E12AD2CF; Tue, 7 Jan 2020 14:38:57 +0100 (CET) Received: from SFHDAG5NODE2.st.com (10.75.127.14) by SFHDAG3NODE3.st.com (10.75.127.9) with Microsoft SMTP Server (TLS) id 15.0.1347.2; Tue, 7 Jan 2020 14:38:56 +0100 Received: from SFHDAG5NODE2.st.com ([fe80::1cb5:6767:370b:9af0]) by SFHDAG5NODE2.st.com ([fe80::1cb5:6767:370b:9af0%20]) with mapi id 15.00.1473.003; Tue, 7 Jan 2020 14:38:57 +0100 From: Hugues FRUCHET To: Peter Ujfalusi , "mchehab@kernel.org" , "mcoquelin.stm32@gmail.com" , Alexandre TORGUE CC: "vkoul@kernel.org" , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-stm32@st-md-mailman.stormreply.com" , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH v2] media: stm32-dcmi: Use dma_request_chan() instead dma_request_slave_channel() Thread-Topic: [PATCH v2] media: stm32-dcmi: Use dma_request_chan() instead dma_request_slave_channel() Thread-Index: AQHVxVGbHPd1NuwJTkW5aQNGUInX/KffJDYA Date: Tue, 7 Jan 2020 13:38:56 +0000 Message-ID: References: <20200107115253.8351-1-peter.ujfalusi@ti.com> In-Reply-To: <20200107115253.8351-1-peter.ujfalusi@ti.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:60.0) Gecko/20100101 Thunderbird/60.9.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.49] Content-Type: text/plain; charset="utf-8" Content-ID: <4BB28C0379F2FE4CA71ECF47693910DA@st.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,18.0.572 definitions=2020-01-07_03:2020-01-06,2020-01-07 signatures=0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWNrZWQtYnk6IEh1Z3VlcyBGcnVjaGV0IDxodWd1ZXMuZnJ1Y2hldEBzdC5jb20+DQoNCk9uIDEv Ny8yMCAxMjo1MiBQTSwgUGV0ZXIgVWpmYWx1c2kgd3JvdGU6DQo+IGRtYV9yZXF1ZXN0X3NsYXZl X2NoYW5uZWwoKSBpcyBhIHdyYXBwZXIgb24gdG9wIG9mIGRtYV9yZXF1ZXN0X2NoYW4oKQ0KPiBl YXRpbmcgdXAgdGhlIGVycm9yIGNvZGUuDQo+I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