Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp5074901imb; Thu, 7 Mar 2019 07:13:34 -0800 (PST) X-Google-Smtp-Source: APXvYqw1UE+XyWc6zOUxcHOLxH3xxWFzJ+Hlx//7yCnGaDx0AY5+1Jj5eBBgLmPY4dS1hA6TLBbi X-Received: by 2002:a63:2141:: with SMTP id s1mr11562628pgm.363.1551971614346; Thu, 07 Mar 2019 07:13:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551971614; cv=none; d=google.com; s=arc-20160816; b=b2SpoaFM+e1bAeyX66H58Pd+lfdnJ0DsGqC+fQCQRleMaWbwPzsOT9UoCkv6Lmlg5V cafdJ8ZnGV6ZMXsIulbyWaxNrLv46xJIVzBtebPNa2nJNxfkk1lSXDi65sBc2x/z9qji H+2IJGNAxWQESImd8z2mk/T0VidxUj3rcuohXUEyGkYwQYjONWkwgrZrqQ9ppJiMNAHQ 8gjiuJVsf0Jpu0sObgp34QyEpjNs1WOdynuKnS1G+M5AzX/dcJ7vYjI7KIggTGq3EsLI 5PJilCFv/4Oo/BBSahkPGtJqS8bPTr2CdDlwiGa0WevJlHkwrXEfRRlZcxuCENS+nJJV 9xug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=cuB+eKhOohoUbVxZYxrPClYT2o/k+7FcRmsLbgoXczk=; b=oLKuET1aYaYOirMK9Rs2sGJ9HaH0Pa5GNAqC5BHoJseBXyAi9+hq1ZXLWcNOaztvhK YaLam4nY9Ctz5ZgcUOeRFwSsXbVnZMduW8JlW38dl3yIY6Fjka8rz3yUJen3eDRxH3bN DrEhyPLvpivCGSlTesqUrbrJXtdHjLOMzDNsfiOxqW5SS7kW4sE4lAfqhSCu0+QsvA0O Oumf8nehFsrOAJEj0MsnkITXocxTED7jOa3rdlqIjHj4/tjI+qUCLQOA6AiPNFKwJh5n jcyaP8108tqft4sUnA1gq3Ezp8LxwuIiQU8wJGuTDrgebeK0ux3Z/g9FpCC3bgG99McF MieA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bc4si4302376plb.119.2019.03.07.07.13.18; Thu, 07 Mar 2019 07:13:34 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726358AbfCGPMd (ORCPT + 99 others); Thu, 7 Mar 2019 10:12:33 -0500 Received: from mail-qk1-f196.google.com ([209.85.222.196]:40724 "EHLO mail-qk1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726127AbfCGPMc (ORCPT ); Thu, 7 Mar 2019 10:12:32 -0500 Received: by mail-qk1-f196.google.com with SMTP id h28so9191756qkk.7; Thu, 07 Mar 2019 07:12:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cuB+eKhOohoUbVxZYxrPClYT2o/k+7FcRmsLbgoXczk=; b=rOYrjJEmHeznem683K10o8Zy+LmJ1qm5Xu3YZx0oNCRWfE3Bo86CItItHoscL8Z8h7 QqD1LZcJE+PPD4M7g2mH2oBomxHdK11Ard6satpC54JmZW6xfaqBt1XN5hJu+2TEU/yg IszPEm65IwZGdGxaaJ4rrlkPRYjU0vdUBWcTA2t+hnrgfGMdsWinYae+BrPA9aUfr03R JyO7RyruJlS02uf6DAUZqQljT/ke8bkeaTtwAJ5I9UeyOStrzJoMF7w2wdLaV2QP3tPJ bnfcPAbi99rTP7lugKOLisoONOZRjukkF0e9V8JZh1xzx0xiHgjbFoOGaxP7bvefFehH SpZg== X-Gm-Message-State: APjAAAU9yXZOdTFK0gZsoLvQsPVYKFTquqfCYdf7JgrNqr51u9JCzW9H XR4UNtQkrRmnUCu16nQxZ0XhPefrcbtw92tomQU= X-Received: by 2002:ae9:dec2:: with SMTP id s185mr9846900qkf.107.1551971551420; Thu, 07 Mar 2019 07:12:31 -0800 (PST) MIME-Version: 1.0 References: <20190304203114.1894822-1-arnd@arndb.de> <20190304203114.1894822-2-arnd@arndb.de> <865ffc6e-c6f7-a30a-1c0c-14194b3458ef@ti.com> In-Reply-To: <865ffc6e-c6f7-a30a-1c0c-14194b3458ef@ti.com> From: Arnd Bergmann Date: Thu, 7 Mar 2019 16:12:05 +0100 Message-ID: Subject: Re: [PATCH 2/3] ASoC: ti: remove compat dma probing To: Peter Ujfalusi Cc: Mark Brown , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Jarkko Nikula , Tony Lindgren , ALSA Development Mailing List , Linux Kernel Mailing List , linux-omap Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 7, 2019 at 2:22 PM Peter Ujfalusi wrote: > > Hi Arnd, > > On 04/03/2019 22.30, Arnd Bergmann wrote: > > After running into a link error: > > > > sound/soc/ti/edma-pcm.o:(.rodata+0x18): undefined reference to `edma_filter_fn' > > > > I checked all users of this, and they have new-style 'dma_slave_map' tables, > > so none of them should still need it. Removing the associated lines > > simplifies the code and avoids the build-time dependency on the > > respective dmaengine drivers. > > Thank you for the patch! > > Yes, I believe I have covered all possible legacy uses for both edma and > sdma with dma_slave_map > > With the two comments addressed: > Acked-by: Peter Ujfalusi Thanks! > > @@ -43,14 +43,12 @@ static const struct snd_pcm_hardware edma_pcm_hardware = { > > static const struct snd_dmaengine_pcm_config edma_dmaengine_pcm_config = { > > .pcm_hardware = &edma_pcm_hardware, > > .prepare_slave_config = snd_dmaengine_pcm_prepare_slave_config, > > - .compat_filter_fn = edma_filter_fn, > > We can also remove the > #include > > as it is no longer needed. > Here we can remove the > #include Ah, perfect! I also see that linux/edma.h can be completely removed afterwards, and the filter function made static. linux/omap-dmaengine.h too, but it is included from linux/omap.h, of which at least parts are still needed for omap_udc.c Arnd