Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp1856204ybn; Thu, 26 Sep 2019 03:16:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaCAEydBfcfZS/Ux0D9s/GmL2bLtu7saKovdZTXToFfWfSBxPIAmwRYbTiGcFaSi1tY/NZ X-Received: by 2002:a50:d758:: with SMTP id i24mr2628687edj.246.1569493009023; Thu, 26 Sep 2019 03:16:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569493009; cv=none; d=google.com; s=arc-20160816; b=JMzP3Fmn9pG8jZgnDvFYsoWhONZfqBguWbCgZ73PchCc9WitDLz3wz/A2YnX5lMbdI rduvY3dWDl7H4l4icGvZ7zH4TYuaQJAfLI8cmA5rYJdUsRGGz1MMeBa4G2hOsTruYTs4 CqxkMGRZLBgaeVXYc+Xzd2G1eaA+hoJhqejwerH180V2Zf8jJ9YJ2ifW0URiNTHL0BrB nagbMOqmnQv+L9hqjfaJbdtwGRr0/cbp2meZVDP6/BQ5PkHNYuv8Nqo8UnGtKzK3gN/7 HCE2BiHXu7ftX4xThjYhwg7ZFf4JOxbD6XdZ0dA0eRMUmwZJA4l1fsuuMtEodE0JDtt2 GIPA== 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=SUSEKjSRsm7rW73wIupnHa3qG/YEK1relBHMwKhfw7s=; b=eqQ86pVhnKdZLanVK4AVDHM33vM/EhWkLlTRgyrgvDCcQstmn3x2/E4I7fyZniB1dU ivVMcgN42xPreBGWYYiOjxHLguvZwVAuJgguUyQeL6hp7pVOVQft+be8BfkWL3hK6tZc /geFXFsXa0DGCFh4GOUcEY+7cdyAKMnOGMnNM1zYaCTjMSInXwTIMRdMZ7QV0stX1auL q87eZOfxhgZdYiID/xU/TdFjHvOtwJUBG01L+rnsFppGRLR1J1O4RHi/vz+BxTF7kf/y Bg1fAnn+vkuFJywpYpdt+hqfRG3erd7e+VsjvSEgUXhSUZVNZ/hk5rrsHejVTsmT6r0a Uusw== 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 r1si739507eji.94.2019.09.26.03.16.25; Thu, 26 Sep 2019 03:16:49 -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 S2390071AbfIZBbn (ORCPT + 99 others); Wed, 25 Sep 2019 21:31:43 -0400 Received: from inva020.nxp.com ([92.121.34.13]:45316 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726770AbfIZBbn (ORCPT ); Wed, 25 Sep 2019 21:31:43 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 85E2A1A08D7; Thu, 26 Sep 2019 03:31:41 +0200 (CEST) Received: from invc005.ap-rdc01.nxp.com (invc005.ap-rdc01.nxp.com [165.114.16.14]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id F172C1A04F5; Thu, 26 Sep 2019 03:31:34 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id AFEAA402CB; Thu, 26 Sep 2019 09:31:26 +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 V5 0/4] update supported sample format Date: Thu, 26 Sep 2019 09:29:47 +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 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 | 66 ++++++++++++++++++--- sound/soc/soc-generic-dmaengine-pcm.c | 61 ++------------------ 6 files changed, 200 insertions(+), 87 deletions(-) -- 2.21.0