Received: by 2002:a25:1104:0:0:0:0:0 with SMTP id 4csp269250ybr; Fri, 22 May 2020 06:17:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzdi4Qaw7ifVgbIaoOblNj90RVW70aitsrCTJt856E3XeSELgaTxDPTK33MyrN/XXPOvE2+ X-Received: by 2002:aa7:d492:: with SMTP id b18mr3012012edr.28.1590153472354; Fri, 22 May 2020 06:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590153472; cv=none; d=google.com; s=arc-20160816; b=SxyxxkezSIL+9dp/M1yHuYs+kH65cJtsc8EG2BkI1fyKoCHki/z9eo/XvSUJW3ZKfC GtZZdS/rf17NnoMO8mvdPqpX3KuOEtFbrbZ+RvJD3vp907wXFCiYkh7ysNf1vugqk00W JOvhYCCwjYtb1unYilga/Sq/Ilw9plznbrHmryMDeafNte06Yx/3UqxI9DkPDuFcgSI0 vErGaQh3PjpBckUoQsj463zrMqBha/RwqbDb9Sv7zTiKf6Ik0IWzMsfgP1kcOh59qyp0 /a/mJXOIiMzqsBQ1fMOj7+rXUI1qHS+pt6ti/jFq2K1rY/3/xNgwyIFN6ebgrUfMdCtN M+AA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=m63ltpBoZt9bPb/8A9b9NEL31UrlBxXfHSnM4PJo640=; b=X5sbslvHfqOiqoKpKkKzVD/WUyd2UO1SYq4AkEsPH/cZtaf1klKs7M82OKmwrIyc4m NUZ/3LrIjWTzDxVaXD6hc1zEYpZCwnxH3OH1YEM9o6R63Zr8yG2ngs8mIwvSfVRc2pUN TjVPEsxTKZTa0cOlwbc55VW21p6borFjMzUPTA3aZLCU/AqSuynIba3Yy48pfuSpCvGi 8HB+YoSVunDe8tECfaQ5VBs6XnvEr+DksN6IEOdPbPG5eHvRZ0Kzqmbj3+AhxZumzO1H joXtLyFMBvMAb6IFZrbiLq3LdMao0CJLQd3lIYJdnAXM51A85X284DFNUCML1Y9hLs8o 7Odg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=f5GKNdFg; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dx17si4942609ejb.467.2020.05.22.06.17.28; Fri, 22 May 2020 06:17:52 -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=@kernel.org header.s=default header.b=f5GKNdFg; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729847AbgEVNMq (ORCPT + 99 others); Fri, 22 May 2020 09:12:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:48240 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729334AbgEVNMp (ORCPT ); Fri, 22 May 2020 09:12:45 -0400 Received: from localhost (fw-tnat.cambridge.arm.com [217.140.96.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B4C7E206B6; Fri, 22 May 2020 13:12:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1590153165; bh=eJKC82/JdUZHlra7wt2AcwBxZx0GOUHbM5qLt27y8DM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=f5GKNdFgRnnBIO23cQpX5VzjxVD3vjqLDm5zKWQYH9PGzsWz88uDSXU4smxDdAEXw DuNIoPjen0K7HCQd+h/fexnZt0GCdHeqg99S0u9/zoItXB2B9XKxiQ9/4fuSQ5PaaE bXVA5rstzRikNPoIOt1rnpDxZXLvYgs5dXdkH0XQ= Date: Fri, 22 May 2020 14:12:42 +0100 From: Mark Brown To: Shengjiu Wang Cc: Lucas Stach , Shengjiu Wang , Timur Tabi , Nicolin Chen , Xiubo Li , Fabio Estevam , Liam Girdwood , perex@perex.cz, Takashi Iwai , shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, linux-imx@nxp.com, Sumit Semwal , Linux-ALSA , linuxppc-dev@lists.ozlabs.org, linux-arm-kernel@lists.infradead.org, linux-kernel , linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linaro-mm-sig@lists.linaro.org Subject: Re: [PATCH] ASoC: fsl: imx-pcm-dma: Don't request dma channel in probe Message-ID: <20200522131242.GI5801@sirena.org.uk> References: <1589881301-4143-1-git-send-email-shengjiu.wang@nxp.com> <0866cd8cdb0c22f0b2a6814c4dafa29202aad5f3.camel@pengutronix.de> <53258cd99caaf1199036737f8fad6cc097939567.camel@pengutronix.de> <20200520123850.GE4823@sirena.org.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="3U8TY7m7wOx7RL1F" Content-Disposition: inline In-Reply-To: X-Cookie: C for yourself. User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --3U8TY7m7wOx7RL1F Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, May 21, 2020 at 07:30:04PM +0800, Shengjiu Wang wrote: > On Wed, May 20, 2020 at 8:38 PM Mark Brown wrote: > > Other drivers having problems means those drivers should be fixed, not > > that we should copy the problems. In the case of the PXA driver that's > > very old code which predates deferred probe by I'd guess a decade. > Thanks. > For the FE-BE case, do you have any suggestion for how fix it? > With DMA1->ASRC->DMA2->ESAI case, the DMA1->ASRC->DMA2 > is in FE, ESAI is in BE. When ESAI drvier probe, DMA3 channel is > created with ESAI's "dma:tx" (DMA3 channel > is not used in this FE-BE case). When FE-BE startup, DMA2 > channel is created, it needs the ESAI's "dma:tx", so the warning > comes out. Not really TBH, this seems like another one of those csaes where DPCM is creaking at the seams :/ --3U8TY7m7wOx7RL1F Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7Hz8kACgkQJNaLcl1U h9DJFQf+KOiSW3M/3ZDsfcMnTGh5HgNgjzZUpEU5f1ZyNw/EXh1ViAvYDpkQp2Er kpo1Tgzodk1pkqsn1sWa5yWP+0c6LboBqkCq+02NHr3Kjyw3dQ6uV4ObJH35s/d1 39jbo9WIGQVqo8IOFdGhjpP4q72Vwxz1ki5asUYV3e1IO8aEowWvvbpnSIRlyuvH rXKaqX6fYMsrMzXOhUx7afrt0n6HR/eBg/XkyIsnhXvvPpmxEAySIyKPOGGrftBM rNmOV/XPKbLQXFzjWbK+3ChCcp6ETGTyUyHP25Dm+qXnIyvI6D1ssajhiZHN02RB EdzpF/hkR+YLYUFNuN3fRvDOjQZT1A== =fSbG -----END PGP SIGNATURE----- --3U8TY7m7wOx7RL1F--