Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp750867ybe; Wed, 11 Sep 2019 04:13:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwq0Uc7LI7IveFPIcNI94lYA3zNICkokXJaikBOg6ffOVjRr5VeEgnNpX0BRuh5muvDTQKd X-Received: by 2002:a05:6402:1598:: with SMTP id c24mr35863606edv.174.1568200397778; Wed, 11 Sep 2019 04:13:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568200397; cv=none; d=google.com; s=arc-20160816; b=bE/Bt9bBliky1dtx2zmpn3//2Z9VpbonCK/o2ZP7z80mdPRUR2cZjLvSMaqWvwq8H5 5ZtkA/suYxraYIlRmo2M/x2fhYOPmImtGP+3i8zecqUeJf/c74xP2SAMgzh5eJtye7Wt nVcscIKZAH74LS2nf4qOgkgiysQWLwX/Zv5HgbkkReBuV9THda/WjtnGCG+Qj/cCZuep PfSKBD0xTGEmedOZ+K2OVuowvG3ckLMTwTXJT/qH4tEGoauXVckAOALDhtwnh1PYBqmf Fa1yXvXyRcr+K2QTIIeSWhElMRdG4MOI+0GlfRhSnXty++FEYc8OCyKh8nJI2ypowTqC qdYg== 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=HHnXmjuPtzS2mOWRO4aXJSHL1FSaP/89qlf1dDrZaEE=; b=W/M+5IaLKOUDO+e7RCtEEa401FH4Tdb7LSka2fPytHeH74Hi28igDuZeg/wknTJ2/N aXwCOUrn4/X3dVLwIKjPjoDxfnaKgTa8DXYeBn2CSH9S52B3WqfDuivuRqSTITHYKl/t FCyld8UBtM+sGT2Wfh8rwNfDRuHqen4/SGb01/qoIeHaods+Iu8URI5ufxLSyIClqe1A fAr38Fwm7iMAKee01YOi1N8WqM18OUe0vxzG90l1gX7ksU5nKg3njpkPopigFB5ZYPeU 2e5nt7Rf7rbRRm+I3Y41RiOPX0AfBa7uJ8Wu0+3f5mQadQ0pAKxkUcOvQFvOyCILBgkd WM9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=qK7u45WB; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id hh9si4240048ejb.213.2019.09.11.04.12.52; Wed, 11 Sep 2019 04:13:17 -0700 (PDT) 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; dkim=fail header.i=@sirena.org.uk header.s=20170815-heliosphere header.b=qK7u45WB; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727307AbfIKLIW (ORCPT + 99 others); Wed, 11 Sep 2019 07:08:22 -0400 Received: from heliosphere.sirena.org.uk ([172.104.155.198]:58618 "EHLO heliosphere.sirena.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726735AbfIKLIW (ORCPT ); Wed, 11 Sep 2019 07:08:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sirena.org.uk; s=20170815-heliosphere; h=In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=HHnXmjuPtzS2mOWRO4aXJSHL1FSaP/89qlf1dDrZaEE=; b=qK7u45WBdtW6VEw40C6FxeWOV TomAOJYtYL8dsv7+JXT0kLU+drfE1E/Z6mE4zWCgcOXC3ybMerTnM1uvNko2zCF6ExJLedM6oEnl0 xpmIwJrtBW4K6IKp60dsSjADNbuq2+Ip7RAq4yX6CVESBdxmCboPFgiP3y1/OhtRQAQHY=; Received: from [148.69.85.38] (helo=fitzroy.sirena.org.uk) by heliosphere.sirena.org.uk with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1i80To-0008Rd-Kh; Wed, 11 Sep 2019 11:08:08 +0000 Received: by fitzroy.sirena.org.uk (Postfix, from userid 1000) id E841FD00451; Wed, 11 Sep 2019 12:08:07 +0100 (BST) Date: Wed, 11 Sep 2019 12:08:07 +0100 From: Mark Brown To: Nicolin Chen Cc: Shengjiu Wang , timur@kernel.org, Xiubo.Lee@gmail.com, festevam@gmail.com, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] ASoC: fsl_asrc: Fix error with S24_3LE format bitstream in i.MX8 Message-ID: <20190911110807.GB2036@sirena.org.uk> References: <2b6e028ca27b8569da4ab7868d7b90ff8c3225d0.1568025083.git.shengjiu.wang@nxp.com> <20190910015212.GA16760@Asurada-Nvidia.nvidia.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="1ozVqH6bFr/3sC51" Content-Disposition: inline In-Reply-To: <20190910015212.GA16760@Asurada-Nvidia.nvidia.com> X-Cookie: Be careful! UGLY strikes 9 out of 10! 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 --1ozVqH6bFr/3sC51 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Sep 09, 2019 at 06:52:13PM -0700, Nicolin Chen wrote: > And a quick feeling is that below code is mostly identical to what > is in the soc-generic-dmaengine-pcm.c file. So I'm wondering if we > could abstract a helper function somewhere in the ASoC core: Mark? That's roughly what sound/core/pcm_dmaengine.c is doing - possibly we should move more stuff into there. --1ozVqH6bFr/3sC51 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAl141ZcACgkQJNaLcl1U h9BiLAf/TB2E4wy6DNKmjy1tOffUwKYDmy9RgufK7HCIINZHzoiiwRgXY0IcsAnQ /l2Qpn8LKUi3uc4Db4urdP6TaWvOecadb/PX8ifkRVAUSIEWkbYumPmdfNeKQ2Sq oUXlxF682VrGakytUZlz4dh/BFhiWxda52tfs4WUuzO4TyHjpmCM3dZg3Em3J536 FjgP4H1tnb1d/6j1am+7o5b4YBuQRmYo39ZJrEHOCliEZk6L7ycncUV+Ye4QSYCk iOYjeb9FmZxK0JZErs0Eu7rXsk5JZQptegeJ8kTSZv7darXCSpVltusGB92mMij5 akx0MmeZQdSoM83elUgbLWuJtBnkjQ== =7lNC -----END PGP SIGNATURE----- --1ozVqH6bFr/3sC51--