From patchwork Thu Sep 19 12:11:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shengjiu Wang X-Patchwork-Id: 174051 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp927012ill; Thu, 19 Sep 2019 05:13:17 -0700 (PDT) X-Google-Smtp-Source: APXvYqwM0YC+YVhfBewQrRQaz0/bEFGpssrTzQBbi6ZRkJGQBj7hbAlTyRsQCYZCUFLbCe4DkTIk X-Received: by 2002:a50:ea8d:: with SMTP id d13mr15980587edo.288.1568895197286; Thu, 19 Sep 2019 05:13:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568895197; cv=none; d=google.com; s=arc-20160816; b=VW1t/JtZFv4v2/3A53//BUC2XL7rgb6XvDfOrp/+SBCqHMocqAs8HxMYAJN/e2cOXO gdOG8NvDa2cezbHVVH/IKR8RB/BJSro2DDhhjvRwve3zbwz1uWLEYf90B3vmb2gcl8lG o85tN4rTp/QLLbuFNqiPwRMk8kqdjjukPBrTqA6zdZXE7ScKXcIfbEAPCaqVNaV/HPcw VZYYFP/G7vP04c8h/ZR+KJHyVIKIoX+qqXOPkh0OqJbKEm79DXw9CC2DiZ+WyGVMbbWN O9mlgFDsGRTSCiP2Dyff8+l8kT/CxTuDS5g8PV36+Q+KU/KiFQeg8Z3nYNIibfjV3RzK AUmw== 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=FJbQxkk5SO/megJN68C1jyqOf7UahNsec/JhSx6IIhE=; b=oMxoJenCxp4zpYy6d31fIrAbKfFsxckONB1OJ5H/E9yPgFoOmmxDrt4T8dyhUM5eK+ Fn5nJnIXmlY6PXiri/gN13Ohq4xpj3NNQydyhg5q1xUNtNx7vn1JdoJeHin0A3OwqNro 4GAYuQ4KT3cUx80zpWguTN7JD2mJXqZmb36M45uv/En1ewtVokF44saqu9uf6ZeWB+Pd qbSE/gz/BBbM8DlYcPFMHabhvUedAjk86rN2pWyDcL3BMTssPxxudNZJuECEpW1ajX+/ VoKA1KVMjWbOTLNTp/R/WzpKYalI/Ays97VkbfPLv/rhi/2glq/R1PI1cK/KjqBYotqe 4rRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 g21si4219293edq.289.2019.09.19.05.13.17; Thu, 19 Sep 2019 05:13:17 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of devicetree-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 devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-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 S2388783AbfISMNQ (ORCPT + 8 others); Thu, 19 Sep 2019 08:13:16 -0400 Received: from inva020.nxp.com ([92.121.34.13]:45728 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387417AbfISMNQ (ORCPT ); Thu, 19 Sep 2019 08:13:16 -0400 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id 74A9C1A03D8; Thu, 19 Sep 2019 14:13:14 +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 7CF4D1A0764; Thu, 19 Sep 2019 14:13:07 +0200 (CEST) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id C43B5402A6; Thu, 19 Sep 2019 20:12:58 +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 V3 0/4] update supported sample format Date: Thu, 19 Sep 2019 20:11:38 +0800 Message-Id: X-Mailer: git-send-email 2.7.4 X-Virus-Scanned: ClamAV using ClamSMTP Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@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 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 | 52 ++++++++++++++--- sound/soc/soc-generic-dmaengine-pcm.c | 62 +++----------------- 6 files changed, 188 insertions(+), 86 deletions(-) -- 2.21.0 Acked-by: Nicolin Chen