Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp521937ybk; Wed, 20 May 2020 05:42:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvfxvgF+3/gvWhbFf0/2IiQsJUe/RSljDRkFxxd38/Mlg01t3bLMkBktNZfLWhGAf4mYFA X-Received: by 2002:a17:906:7fd7:: with SMTP id r23mr3423356ejs.386.1589978560039; Wed, 20 May 2020 05:42:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589978560; cv=none; d=google.com; s=arc-20160816; b=cfDISnAFpL7kiWgb1NdHpjheBO3G4fYaQW7l1UI5otYJjCbtjsyr8qQAcH/aydPxye V9N+pP3OQNihWMjO6Mo7PNeaEiwCfjPYQKWlNPhroOl/07ZXEHcibCf9AT/yngJDdUiy qFXvUPQjSyorgh/FlumVxlm6f91s9HJ6Sq0HQfeZ605I1ncIK1U79oibRpCdL5eqWrQE zwHh/W8gwUuCGrzf1p821MR4aQL4g133yqoNMahJN+R4PGqkfc3egp+FupDkJw0dLZkp ZqHJ6ByB8VDATzB0JxfIRy6ZKCestwKsi6GTJWkePP/CqVhsrNBdOYhJy3KM3bLsGnH6 zkJQ== 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=QKFcLPn5eEbK/cMH0LcDsRWsxafUwdf8nz0wyJp91Uk=; b=SuBjvDLEwAiajfT6ahClPBEqk4fcunTdDljCgXr9jvsmhaG4nKuzXRTulpbSkQZIYG pKpB8t6Lr3zS+H4fJT0AY0MyUw12cVELjvp8WsvBAomkyUBj+bP9la5MkCD2MWAFtF25 6UmlItTIbrrO5MQfDrfLtFu8+tPUWYOPVcomhK5x410fXvpjLtByS7lUOCSCFJhaE4gM 0T8jVxchOF7NWCJJK12+zBwHKRuYf625Vi9aclc+zxbgid/vvE4vaGlneTRiHX/JumzV 1YZMCNRqpH+racF5PACZOB26804kdwpMWW5fg+zIEGHN6bi+7yzhWq9f14+wI24VKEkL vEqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=y05unyyJ; 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 i29si1394248edj.93.2020.05.20.05.42.16; Wed, 20 May 2020 05:42:40 -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=y05unyyJ; 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 S1727072AbgETMi4 (ORCPT + 99 others); Wed, 20 May 2020 08:38:56 -0400 Received: from mail.kernel.org ([198.145.29.99]:39436 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727018AbgETMix (ORCPT ); Wed, 20 May 2020 08:38:53 -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 E16B320758; Wed, 20 May 2020 12:38:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589978332; bh=g7mq7A46A2rwnilYsWelJzFIzIUJhVoiPiT9cEmHRqM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=y05unyyJD7TNaV987OdTJu89O1CnVTvMOJXBtUxxhoRdPpPwrGFOLAsPQdIHmglCZ /TdnyHJTd4wnRuuEc9rHwD1xbrOzJV3PPWqVGYYRc76P5MIZ6Tiib5JDErJJuforA+ evfuyTPGebwbAc8o+UKJkiW+ST3XQhvcR1GdBas8= Date: Wed, 20 May 2020 13:38:50 +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@linaro.org, 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: <20200520123850.GE4823@sirena.org.uk> References: <1589881301-4143-1-git-send-email-shengjiu.wang@nxp.com> <0866cd8cdb0c22f0b2a6814c4dafa29202aad5f3.camel@pengutronix.de> <53258cd99caaf1199036737f8fad6cc097939567.camel@pengutronix.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lteA1dqeVaWQ9QQl" Content-Disposition: inline In-Reply-To: X-Cookie: You can't get there from here. 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 --lteA1dqeVaWQ9QQl Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 20, 2020 at 07:22:19PM +0800, Shengjiu Wang wrote: > I see some driver also request dma channel in open() or hw_params(). > how can they avoid the defer probe issue? > for example=EF=BC=9A > sound/arm/pxa2xx-pcm-lib.c > sound/soc/sprd/sprd-pcm-dma.c 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. --lteA1dqeVaWQ9QQl Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl7FJNkACgkQJNaLcl1U h9CQxAf/XWB/BDAkTjyNyif7eAXkZvu58koo16rODvQZScO1qMJDv7rgM7PAY3cp oA8PM6mc2y9ilW+8iJcaRBUazw743WsZy4B8+4zgZ4S+16WavSbW/TcgoP1XHKmn 45dF0NFIESHhxVhwdmHAhRrolV6ukd4taibnCUbPFBbG3AgT7XjvOl8gQmwY5Xbr 4WC83n6SHn8es9HF2g733RvA8jAFMr+biVQ7FnsyxEhi3oMgOYF7LOQ+ZrBM69xC 49iQbno7b5fQ8cPQLKmdt5mzBp0n5anoHWFvvk1zi1RPqM+7gGMv/DBvAB8u7o+F l8Qr1SUzhOsG/j0FDFUIriQktZ4TEw== =CLfU -----END PGP SIGNATURE----- --lteA1dqeVaWQ9QQl--