Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp1311448rdb; Sat, 23 Dec 2023 01:50:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IGPI808VrEOrSmHCHujbN3DKh5AAYslfrMFU7EKi8eeOGdYcrNBEPnGvMA4QhkIA/gkK+TR X-Received: by 2002:a17:907:728f:b0:a23:6316:de8b with SMTP id dt15-20020a170907728f00b00a236316de8bmr4439342ejc.15.1703325015197; Sat, 23 Dec 2023 01:50:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703325015; cv=none; d=google.com; s=arc-20160816; b=n2DpCbJIqDihzVTk692V2zANPztPTlgKQkoqwFV0n1BgMoqmlfho3rT/VkfnCH/6mu 212lQ2InlbdJOQueuhI294Rn47ktPod3c7/UedBlrEwrQEN5uhcbS5HnBCPLEXdr4Ay5 UH1qNLtegiyWVnlC6ySRNg0RvbU7aFrYqAtefdPdUo9EiqtHCiWV17fKRjD5AHLrEJ0Y Ykfacg6HF1pcRut8Zmh4gi3wunv7OrgU05ZCVN3QbY0qdC3ZLQXmAyq7VnQn81302f8C 1MjSf2GPuTkkSg1Flr+AJtxZZnumjKBISPKhT1cQccQLNdwl84TZknmZNacvb/+hteHx Slvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=rnbUS06+JV2kXQzoFZqstlw6VQtLSVdgCy936EMVjgo=; fh=5B/EbMH66+ilt7DXTI+W91O+5dE5/k9u85/NGQqocnU=; b=pFHgx5Vmdv4zuj6SG0Mlwhr3IlLIDlKzTWzZrWsvkY0lz6dYKNMTKA4cOBFiDgA70a Whu71UjRTnqHKqfmBij9bE64eCVegsmv2kuGS1TMpC/mHn11Fh+4KMy9b9CbnRt67XyW NUdx9snX6LGHlAtgatYfF3js8al3pqfPatoxxnpsX14ehNaQT0wrp6ajxWE4xZ5UOmC/ A9wfJA0y2WtIe/akQLyV0OCEYrcxfVX5ECTuheZgLhaFWFqIEQP6A4v4pe6AgQX4U1pv Sfl+5Yo15SNuujhpQ7J8WVR5BYsoAZGe6NjDWqFIZYcr1aLnyN/MVNtjkhXIUFTeUWWE USgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=QI4e097o; spf=pass (google.com: domain of linux-kernel+bounces-10364-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10364-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id vp12-20020a17090712cc00b00a26c29bf1bfsi1067153ejb.871.2023.12.23.01.50.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Dec 2023 01:50:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-10364-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@maquefel.me header.s=mail header.b=QI4e097o; spf=pass (google.com: domain of linux-kernel+bounces-10364-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-10364-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id EABC01F22876 for ; Sat, 23 Dec 2023 09:50:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C9D9BE53; Sat, 23 Dec 2023 09:50:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=maquefel.me header.i=@maquefel.me header.b="QI4e097o" X-Original-To: linux-kernel@vger.kernel.org Received: from forward502b.mail.yandex.net (forward502b.mail.yandex.net [178.154.239.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A0939944F; Sat, 23 Dec 2023 09:50:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=maquefel.me Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=maquefel.me Received: from mail-nwsmtp-smtp-production-main-38.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-38.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:5700:0:640:9f25:0]) by forward502b.mail.yandex.net (Yandex) with ESMTP id 2DBED5E7F8; Sat, 23 Dec 2023 12:50:00 +0300 (MSK) Received: by mail-nwsmtp-smtp-production-main-38.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id wnMTcg7sH0U0-lC5po5G3; Sat, 23 Dec 2023 12:49:59 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maquefel.me; s=mail; t=1703324999; bh=rnbUS06+JV2kXQzoFZqstlw6VQtLSVdgCy936EMVjgo=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=QI4e097osx6nUf8GCAXmt6FXdpo1Rk5NkdDGDcJGaedXM5+Jof2uM7pNFvOdTvIMa Oc302eD82abfsw0xhOUQi09sTQZOydzjJmrFS0mUn26TAgzA/Zc4ydPdKuecrPD/9k jCFC5uw+fLs8kXrDiFFp490pjD0ECksL2jT6pkZA= Authentication-Results: mail-nwsmtp-smtp-production-main-38.myt.yp-c.yandex.net; dkim=pass header.i=@maquefel.me Message-ID: <4b6e64cea850c7db974aac97d71560be4e261b1c.camel@maquefel.me> Subject: Re: [PATCH v6 40/40] dma: cirrus: remove platform code From: Nikita Shubin To: Andy Shevchenko Cc: Vinod Koul , Alexander Sverdlin , linux-kernel@vger.kernel.org, dmaengine@vger.kernel.org, Arnd Bergmann Date: Sat, 23 Dec 2023 12:49:59 +0300 In-Reply-To: References: <20231212-ep93xx-v6-0-c307b8ac9aa8@maquefel.me> <20231212-ep93xx-v6-40-c307b8ac9aa8@maquefel.me> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2023-12-13 at 20:30 +0200, Andy Shevchenko wrote: > On Tue, Dec 12, 2023 at 11:20:57AM +0300, Nikita Shubin wrote: > > Remove DMA platform header, from now on we use device tree for dma >=20 > DMA >=20 > > clients. >=20 > ... >=20 > > +static inline bool ep93xx_dma_chan_is_m2p(struct dma_chan *chan) > > +{ > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0if (device_is_compatible(cha= n->device->dev, "cirrus,ep9301- > > dma-m2p")) > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0return true; > > + > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0return !strcmp(dev_name(chan= ->device->dev), "ep93xx-dma- > > m2p"); > > +} >=20 > Hmm... Isn't the same as new helper in a header in another patch? >=20 Indeed it's internal now. Move here from platform header.