Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp239805ybe; Thu, 12 Sep 2019 19:14:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzJ2LyJ6FOz0u/HW8LGETdd209mkHvqeVrBBr8rxCmOSCdIabQdc8OmgTyXcTIJojtLnc3T X-Received: by 2002:a50:fd03:: with SMTP id i3mr43144369eds.223.1568340856839; Thu, 12 Sep 2019 19:14:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568340856; cv=none; d=google.com; s=arc-20160816; b=G/LUgi9ep8+NtapBZaY0QaejxSMyfJIFfSSuNtxw9dr+QzoM/W5LPZ0h1925qAv1rL NBIJoe8oal9gxeEKYRhajPFnQWUrZpyC4xoC316av0tOCZbKoShNdciboVecdL4E6baD w5xWeqqqhuV4OmeHu6u+bLVzCmW5CMKfhq2tJS9KpbZzDbYFlqDKKJf1SnCO8Ek5qTfZ lrFfr4v47xmxPBJU7NoPC9pITlNjyTrbufiu2Y4IJkNCGMePf4ifDwqIfG0Bv1DWAAzk Eoog+VLiBvdBgB8B+OsBUSpK6cnjeFFHdhlKu3tWlW1iQdU2z7ygWYGinjNby2DBiq7J P6YA== 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=epB8CH0IOuw5TsX1fUGnwbGIVGe9v0LlpjCzGxP60TQ=; b=u0SFsnbBBaugGF0wCLnKe9cEtSInUK4rJGnRUa3rwf500Ef+mPXauEHNAmMYoMzSPI sOyk5xoVDkXbx5LqvhWyyVUFBU80S9gZj1cCKEYo9MsU2UkgpI6Q3a7RxSGTa5z5c2Cq GFt1qbGHZrHxwM9+m/unFmsIYshtu46onrNPwRMBLr/rBYsLU4AFpS/hQ0YDnQyxapwo XVqpVWODFXQZL3pf6Tazb40R4zcZN/8p6fc5Vy/jg8HSxj9GiSsAEpgnregacC42DBLh pSfJ3QUdNXqg8VJNbXMSFWJeDAiRy2Cdr6+RhFJ6/V1QPV94eAIlsIyb4sGxNQDCEyK2 nspg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=pXYgnB8v; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 91si11688853edy.188.2019.09.12.19.13.53; Thu, 12 Sep 2019 19:14:16 -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=pass header.i=@gmail.com header.s=20161025 header.b=pXYgnB8v; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728079AbfILXyL (ORCPT + 99 others); Thu, 12 Sep 2019 19:54:11 -0400 Received: from mail-pl1-f193.google.com ([209.85.214.193]:42033 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727325AbfILXyK (ORCPT ); Thu, 12 Sep 2019 19:54:10 -0400 Received: by mail-pl1-f193.google.com with SMTP id e5so1395143pls.9 for ; Thu, 12 Sep 2019 16:54:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=epB8CH0IOuw5TsX1fUGnwbGIVGe9v0LlpjCzGxP60TQ=; b=pXYgnB8v9vuvLFdz1UIqGnHVmsaO3b0KOiGh94bEt4QtpedVNNzipx+iIyYTwI9Obp XO2uCQ95ITV+w4RvV4PyxkNHy+kpiezsIVRJv8PAJogfMw2vTb9xDyWb7D3JhTT3iT0B jvM76OsIptNMydQYZA9B5ztqtWw1qSuDVXvMIbL6N0t1jesIi2xmx2Yha5x/RhMVF3KB BgW/7PYc2HrGuo52dVHBTSxe80oMM70A8aPVWGjpJDye5OCJLyXU+7hak0kxTsR47VwG KCbqs5X+Aq8SymUGWQCh/dFK4DIJ4Lz0VTuEDEPWhLWLNLekup1nd+lkC13UMqbwrmqA +NRg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=epB8CH0IOuw5TsX1fUGnwbGIVGe9v0LlpjCzGxP60TQ=; b=ulLEF+hZvIELrHV72tgnpHfeBjMiuqZ73PszpyDvsKEIlTn2zTTw9/doLM+/7DYLUw /7Ww0GIBusOzaBnlBw51V4yazByXX4XEa/v4IHyWS4pndOY2kZdLqfilVFd3R4Jjl9Oa RSSKfg5TxcXjpIiIuaMtdDrPbKtVpvGB7YA3hm3vumaLoEfmo7OVzZGPQqaQKqy5d7ku TdqkFqndnyF+fw0mSLKVtWAEo7YQQZ2IvaqUtlFqFhTzq0RYq2Hd33OisIKKmV/k/lf2 6Pv/FNYDt13QrIPTtjUoYtGXwUuM3NrUxwev1KV+GHfoOdsPAx+BBBkdeqZmZ6Y8uvuM 4X0w== X-Gm-Message-State: APjAAAWYDXNAltOSh3DQ4BflxHcVO8pU0batdK74AGhc3xzADhstNKnY KcQum1HBipajYzIKEjuvk1E= X-Received: by 2002:a17:902:9d90:: with SMTP id c16mr34653633plq.12.1568332450067; Thu, 12 Sep 2019 16:54:10 -0700 (PDT) Received: from Asurada-Nvidia.nvidia.com (thunderhill.nvidia.com. [216.228.112.22]) by smtp.gmail.com with ESMTPSA id a20sm24584085pfo.33.2019.09.12.16.54.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Sep 2019 16:54:09 -0700 (PDT) Date: Thu, 12 Sep 2019 16:53:48 -0700 From: Nicolin Chen To: Mark Brown 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: <20190912235348.GE24937@Asurada-Nvidia.nvidia.com> References: <2b6e028ca27b8569da4ab7868d7b90ff8c3225d0.1568025083.git.shengjiu.wang@nxp.com> <20190910015212.GA16760@Asurada-Nvidia.nvidia.com> <20190911110807.GB2036@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190911110807.GB2036@sirena.org.uk> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 11, 2019 at 12:08:07PM +0100, Mark Brown wrote: > 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. It looks like a right place to me. Thank you!