Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp2833353ybn; Thu, 26 Sep 2019 18:50:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqymH0l7flSgnf1j4y8wiUSPQlm0tNlYmbVZ2JlNCLLir3+9x8MxYPvySv3y8Zio3B1LzzHB X-Received: by 2002:a17:906:3485:: with SMTP id g5mr5636540ejb.76.1569549022345; Thu, 26 Sep 2019 18:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569549022; cv=none; d=google.com; s=arc-20160816; b=WYS6VmMKO7nVdBcxqalXRHFWIOwAR2FvL1vb44gTtIulbng3eHGQReTK3jSGCmaBfs azBL/CW+YoDekEExULHFuw7sxnGXxLPbXmjEfM/T2Xk/gQ56BIIm3pwrHuU0pzZLzd8S Xac9pYkfEyzqlj/4hBoJFRXkfUHW9x6YO2DmuGE3rSv7HHbtCvUHREEorMAnsgE76OjZ NJ04qELrsiJhjsDaUJD+Eq3D5/WstcahZqZ5WvE8Su3wFAfxUmhzF7ClUeUJ5kva2TdD SvGFWr2vqA+7z53QeWEWPtJqbiIRiqAafWA66wvfXXZv/usqjKgDi41dxtGzu+Pb0Nzo 7Uww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:to:from; bh=uI03nh9FfD7J0aQv/IfptY1gMyU7yZeNNG1DKwEQyTw=; b=nYFUOoUvn2quhpx06LrTVIovlTsNZq0v6otvW7yHn0cT7uCL6am8v+NmFsD3Uiu5WH qBKhfYaSB+vltBMmn6T038uQgRZ1fotUDehpBm/gw4LMggFULSgCChAfXzMmFBjd9JrW u7d+Ni89EN8QF8jT6UFRuGNf97pFWxFWybaBrdkuKPN2+sht6/OYPv7S71PMzx/i38fU +Yo6X+JW8qxPQGb240kPuW5wygmp9qeMz2HvDMjVAhKMVVcwMBj3udw5TIkr/Rv3o9yf kEciRehQVXL4SsS+hrEGqBR1qoFAWVGFWAGgNuH09rsQpoEibNDkM7TaRX8a2fL6+uMU mdMQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s27si667029edm.226.2019.09.26.18.49.56; Thu, 26 Sep 2019 18:50:22 -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; 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=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727895AbfI0BsE (ORCPT + 99 others); Thu, 26 Sep 2019 21:48:04 -0400 Received: from inva021.nxp.com ([92.121.34.21]:58926 "EHLO inva021.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726140AbfI0BsE (ORCPT ); Thu, 26 Sep 2019 21:48:04 -0400 Received: from inva021.nxp.com (localhost [127.0.0.1]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id D9024200603; Fri, 27 Sep 2019 03:48:01 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva021.eu-rdc02.nxp.com (Postfix) with ESMTP id 683B6200125; Fri, 27 Sep 2019 03:47:55 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 45175402CB; Fri, 27 Sep 2019 09:47:47 +0800 (SGT) From: Shengjiu Wang To: timur@kernel.org, nicoleotsuka@gmail.com, Xiubo.Lee@gmail.com, festevam@gmail.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, devicetree@vger.kernel.org, lars@metafoo.de Subject: [PATCH V6 0/4] update supported sample format Date: Fri, 27 Sep 2019 09:46:08 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch serial is to update the supported format for fsl_asrc and fix some format issue Shengjiu Wang (4): ASoC: fsl_asrc: Use in(out)put_format instead of in(out)put_word_width ASoC: fsl_asrc: update supported sample format ASoC: pcm_dmaengine: Extract snd_dmaengine_pcm_refine_runtime_hwparams ASoC: fsl_asrc: Fix error with S24_3LE format bitstream in i.MX8 changes in v2 - extract snd_dmaengine_pcm_set_runtime_hwparams in one separate path. - 4th patch depends on 3rd patch changes in v3 - Fix build report by kbuild test robot - change snd_dmaengine_pcm_set_runtime_hwparams to snd_dmaengine_pcm_refine_runtime_hwparams changes in v4 - update according to Nicolin's comments. changes in v5 - free asrc pair when error happens in patch 4/4 changes in v6 - ignore return value of snd_soc_set_runtime_hwparams in patch 4/4 include/sound/dmaengine_pcm.h | 5 ++ sound/core/pcm_dmaengine.c | 83 +++++++++++++++++++++++++++ sound/soc/fsl/fsl_asrc.c | 65 ++++++++++++++------- sound/soc/fsl/fsl_asrc.h | 7 ++- sound/soc/fsl/fsl_asrc_dma.c | 64 ++++++++++++++++++--- sound/soc/soc-generic-dmaengine-pcm.c | 61 ++------------------ 6 files changed, 199 insertions(+), 86 deletions(-) -- 2.21.0