Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp2082861rwl; Thu, 13 Apr 2023 01:07:31 -0700 (PDT) X-Google-Smtp-Source: AKy350ZXXeD/YaoVbzTfqV5MZeivKYgzZnIQ/TSO4TjHGj8udF14sGrvRzBJvRwZWLKLtTMqebYp X-Received: by 2002:a17:90a:49c9:b0:246:d185:bd7c with SMTP id l9-20020a17090a49c900b00246d185bd7cmr1306029pjm.5.1681373251443; Thu, 13 Apr 2023 01:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681373251; cv=none; d=google.com; s=arc-20160816; b=wh588DmZjZvzGxcC7j3r0TBrbKBHJJW1e4e1iXzAntUCkbInlqvMvsQKNEqb9gNYel 3HwR6EgNkAkGqXaNp1J+NtL8V6d6MTIdz6fk50P6F7audIydCp3F5q+gcYuC9L92jVrp YZSC5YXOUsqWW00GEPFd5YRTdUUsFNfLbyOWJlw+K8t8IVuuCcz/DjGQNZE6KRoO2XS/ bzEVBy8IIxVdt9DuBK5qY8n+8xwTuMzFU7gsnQYb7A51Eqfem+Qmsgfu5oTGQArujOFf 6fVBReuIAy6KwEwsBaP/CLP/h6KjLza8UqPThVjg1cwh5S91vTUcChtoLKb/EfqLIH+u 48Vg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=vfxzlRNk1KGWBdOj5P/K6fuwrIfAfru/Dnxni0GJhqM=; b=IpFPw+NI3lKp/cZwfvcQ94vEKyTF6Jl931FLHiyew3kbHWC8/ClBvmqWMvkkQJTvt3 CBR9aJ6CucpzrkmA5ddk9fmRaTfujJ8fomEGi7ku+kpj1cCn+1M8+PxWBod591b51+D9 o7aIxT/xUV+RVPl+F/SmL47hUVZuLg6Kax1+w0utSFOxTTRYjOggAE6FQY3PQT5LOU0L uyRU+1XjJGX/tpO3aHAsMOfztuv2b7YeyUG47PSQ3ld9G9Fnogj3pP3XkABLwhm8818F IldIOJ2I3OBSH/C9669i4WGOEm0wFkr81KiKqp8nyeYs8uT5ahTkCot/mlvep3qwwIe5 DbOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=ICUcBYBU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d5-20020a170902854500b001a6511aad38si1398043plo.459.2023.04.13.01.07.19; Thu, 13 Apr 2023 01:07:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@crapouillou.net header.s=mail header.b=ICUcBYBU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=crapouillou.net Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230110AbjDMH7i (ORCPT + 99 others); Thu, 13 Apr 2023 03:59:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43220 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229733AbjDMH7h (ORCPT ); Thu, 13 Apr 2023 03:59:37 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E1AD170F; Thu, 13 Apr 2023 00:59:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1681372772; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vfxzlRNk1KGWBdOj5P/K6fuwrIfAfru/Dnxni0GJhqM=; b=ICUcBYBU4Bf7+mQJ5Ux1mcB5R2xdiuY5KtFa/XbsgF+hRunFUSdeGERUNyysZhU+UUv85o YpNkFgjTNfabOwPHhplu5VolRCE+cLMyvO4F9kL8/QX35ojd8S7tRH7lnL3Hst1w4zEWQ+ uutqswBtqhSp4JvUD5Qpu+quNM+y9KE= Message-ID: <259fbfaafbceb6b57c0c4426be994ed08140af5c.camel@crapouillou.net> Subject: Re: [PATCH v3 01/11] dmaengine: Add API function dmaengine_prep_slave_dma_array() From: Paul Cercueil To: Vinod Koul Cc: Jonathan Cameron , Lars-Peter Clausen , Michael Hennerich , Nuno =?ISO-8859-1?Q?S=E1?= , Sumit Semwal , Christian =?ISO-8859-1?Q?K=F6nig?= , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, linux-iio@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Date: Thu, 13 Apr 2023 09:59:29 +0200 In-Reply-To: References: <20230403154800.215924-1-paul@crapouillou.net> <20230403154800.215924-2-paul@crapouillou.net> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGkgVmlub2QsCgpMZSBtZXJjcmVkaSAxMiBhdnJpbCAyMDIzIMOgIDIyOjUzICswNTMwLCBWaW5v Z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