Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp154779ybc; Fri, 22 Nov 2019 03:32:43 -0800 (PST) X-Google-Smtp-Source: APXvYqxbMkMk7luu+nLE/IpIfo31eAMVwGzxk44DN3JmmpVDghgx7TqotHujeDNNb5dC+mEwjn3b X-Received: by 2002:a05:6402:282:: with SMTP id l2mr468643edv.187.1574422363167; Fri, 22 Nov 2019 03:32:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574422363; cv=none; d=google.com; s=arc-20160816; b=VDv6j5ozkESNd9YcMNoSVsw+1M+DI0X6MSns5Ev1l7UfWKmLs8N8L7HUQIw+Pij5/7 PPs3o4LM95kMmltF2W17OyvBbGDsulu0phLjtxTwTCpzQ29Eb0esUOcu0aLtuLgeRZKr KwaqIHQBA5fDu+bTJFAIrLOKV2zKLj1D1XnqOgxReGgW3Z4hZy+mVSLr4DVNui4IgHrx VnKPvovTNNn9Lv341AXvR6hXCtgV9koQRiBeYYtK+o3/Ig9ZxRNnWVRqhxsVF0GSr0b+ BSrqyWCmvyFMATbDgPztYKdHMX/b9Xi+avWYLKcCtK3zeW2dD/MQyrBf1pMehfh0Hn0o mKFA== 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=Uu+sF9uhB35PILCOWYCvQuWSJqlZS3EUSq/QMA7pbAc=; b=N07ZBZBzw6VBUfMfMjDllNfdNu7UJjorPNX/MdSovWC13UGnJV0iDZ1/7iNg/CUJCM 69+b7+NYF6/qfwegeCuksWVhIx3uTrkh26tHuKSjN7MOxYhv1032JCb/Anx5Q5UtOxPg ZXwJV2jN6B/2jnlYyNDvQv8MaQQJjG5y1JTIDHwVvBAE4k24lL2CVJHodPyeozsDA2kv U/FoYrsrksGxvcXgTiODR/9f1aIGY2bMR/HSdmqAkXUAnm28xVrGh2dQAMJhS3yfAwz+ 8Ou8AWvkYyCJr4BfwV1/56wplOl2RgNucvpQGu8EZbVuiWhY7otskK3GvmEwt7zSVjPr L4kA== 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 k7si5405204edk.34.2019.11.22.03.32.19; Fri, 22 Nov 2019 03:32:43 -0800 (PST) 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 S1727738AbfKVL1u (ORCPT + 99 others); Fri, 22 Nov 2019 06:27:50 -0500 Received: from inva020.nxp.com ([92.121.34.13]:47188 "EHLO inva020.nxp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727518AbfKVKb7 (ORCPT ); Fri, 22 Nov 2019 05:31:59 -0500 Received: from inva020.nxp.com (localhost [127.0.0.1]) by inva020.eu-rdc02.nxp.com (Postfix) with ESMTP id E259B1A00B2; Fri, 22 Nov 2019 11:31:57 +0100 (CET) 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 3903D1A01FD; Fri, 22 Nov 2019 11:31:52 +0100 (CET) Received: from localhost.localdomain (shlinux2.ap.freescale.net [10.192.224.44]) by invc005.ap-rdc01.nxp.com (Postfix) with ESMTP id 0071B4027F; Fri, 22 Nov 2019 18:31:44 +0800 (SGT) From: Shengjiu Wang To: lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, shengjiu.wang@nxp.com, kstewart@linuxfoundation.org, gregkh@linuxfoundation.org, allison@lohutok.net, tglx@linutronix.de, patches@opensource.cirrus.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [RESEND PATCH] ASoC: wm8524: Add support S32_LE Date: Fri, 22 Nov 2019 18:30:13 +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 Allow 32bit sample with this codec. Signed-off-by: Shengjiu Wang --- sound/soc/codecs/wm8524.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sound/soc/codecs/wm8524.c b/sound/soc/codecs/wm8524.c index 91e3d1570c45..4e9ab542f648 100644 --- a/sound/soc/codecs/wm8524.c +++ b/sound/soc/codecs/wm8524.c @@ -159,7 +159,9 @@ static int wm8524_mute_stream(struct snd_soc_dai *dai, int mute, int stream) #define WM8524_RATES SNDRV_PCM_RATE_8000_192000 -#define WM8524_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S24_LE) +#define WM8524_FORMATS (SNDRV_PCM_FMTBIT_S16_LE |\ + SNDRV_PCM_FMTBIT_S24_LE |\ + SNDRV_PCM_FMTBIT_S32_LE) static const struct snd_soc_dai_ops wm8524_dai_ops = { .startup = wm8524_startup, -- 2.21.0