Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp2912783pxb; Sun, 15 Nov 2020 23:53:39 -0800 (PST) X-Google-Smtp-Source: ABdhPJzD625smtDNWtiTwGn04VvGp3+68vTr47dCz8X15MHimo7/TlE5a49tfq8Bqtrv+1EqD1/q X-Received: by 2002:a17:906:14d:: with SMTP id 13mr13487361ejh.516.1605513219215; Sun, 15 Nov 2020 23:53:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605513219; cv=none; d=google.com; s=arc-20160816; b=ez6+JHZ2IEXkRtBSdNvl6BijumBSOsVPqqaIy9fo/iiRy+a7sWRY4hSWFmT1p5k1uZ 44YwSM6TNhpOAYlJ+Zulc4MMCC4WOkLKlukoPxXnKTtsUVbtwlQunsRdWxZTOs2a9X9w kh2Lu9MeZx04rHDdNcQjOFmXSvKeDfDG6HEEFDlYyyttdvHwKd7dKjOB+k50SCRbdeSi Mm7C2Hu+xl/j8iZwKdw36QrWYRZ1ugzbkfk9/Gjjp5QjZ3WcLCJVTG2eVa8N8/WC8SL9 gD9Togi1GvnfoB7Ep/mgRpipVT/s7WIuRn9Pd1FZL//S+mP3Z8LyIPWI2/gHYZE6fCMH EPdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:subject:cc:to:from:dmarc-filter :sender:dkim-signature; bh=uyOlTM80iUIKUo0V/zn7BpuxDHK919VWbhuQkHHN89w=; b=tW6FKD+KEejAySelhnR30MhSSXtiUCWqCteUZbV4Cn+NkdkW5hpwligSDfXxXP2Om6 qQ7Jcz0NIqUFQatKBoqvv7MaDDU4r7LHSBM19PEL09/mifJGIndKT4gzEnFGcxWp94Kn FMW87X7QpGgU5NIXzPJgL1jQfsTdprngIVxRBxwfYUTIp7pMyFSfaRFuNCi1ZuqbsKJr u5FanWYvLJs1Ma9r9R7UcK/Y3LMT6Y33z3SPBV9VbhMzf7ZF7/Bf0dvYXi8734ngiTfT 4xU2YeFycZwi9Yug4W+7msdoNmhLM9O9CeoQdAtPrNQ1hQdxCmqOLTt9XGub7yzvAzpr ilCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=AzKL2k3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a7si11135874ejv.659.2020.11.15.23.53.16; Sun, 15 Nov 2020 23:53:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=AzKL2k3D; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727895AbgKPHtp (ORCPT + 99 others); Mon, 16 Nov 2020 02:49:45 -0500 Received: from z5.mailgun.us ([104.130.96.5]:57327 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727873AbgKPHtp (ORCPT ); Mon, 16 Nov 2020 02:49:45 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1605512985; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=uyOlTM80iUIKUo0V/zn7BpuxDHK919VWbhuQkHHN89w=; b=AzKL2k3DSxPjTCxWtnLCccHt+JVebZYB5u3SV3y4yhYRc+IMXaS8r41QGZEVpE1/uBjebhYJ FzG/o0x992sR7G4kZpvVgvJAC9QCeG7ZGPPDOJy7caeO4kJDYt+ITrtkYdyuQJkHwFsNyrFI +f8YqM+57gGoaGg/3sf30UVc2Rw= X-Mailgun-Sending-Ip: 104.130.96.5 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 5fb22f0ed3e05bb6db631e04 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Mon, 16 Nov 2020 07:49:34 GMT Sender: srivasam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 4A0BAC433ED; Mon, 16 Nov 2020 07:49:34 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00,SPF_FAIL, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from hyd-lnxbld210.qualcomm.com (unknown [202.46.22.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: srivasam) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7A5D0C433ED; Mon, 16 Nov 2020 07:49:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7A5D0C433ED Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=srivasam@codeaurora.org From: Srinivasa Rao Mandadapu To: agross@kernel.org, bjorn.andersson@linaro.org, lgirdwood@gmail.com, broonie@kernel.org, robh+dt@kernel.org, plai@codeaurora.org, bgoswami@codeaurora.org, perex@perex.cz, tiwai@suse.com, srinivas.kandagatla@linaro.org, rohitkr@codeaurora.org, linux-arm-msm@vger.kernel.org, alsa-devel@alsa-project.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: V Sujith Kumar Reddy , Srinivasa Rao Manidadapu Subject: [PATCH] Asoc: qcom: lpass-sc7180: Add 32 bit format support for capture Date: Mon, 16 Nov 2020 13:19:15 +0530 Message-Id: <1605512955-7017-1-git-send-email-srivasam@codeaurora.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: V Sujith Kumar Reddy Add 32 bit format support for capture in lpass-sc7180 snd_soc_dai_driver capabilities. Need to add contstraints in machine driver so that only specific format allowed. Signed-off-by: V Sujith Kumar Reddy Signed-off-by: Srinivasa Rao Manidadapu --- sound/soc/qcom/lpass-sc7180.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sound/soc/qcom/lpass-sc7180.c b/sound/soc/qcom/lpass-sc7180.c index 61b51b5..3dc80fc 100644 --- a/sound/soc/qcom/lpass-sc7180.c +++ b/sound/soc/qcom/lpass-sc7180.c @@ -34,7 +34,8 @@ static struct snd_soc_dai_driver sc7180_lpass_cpu_dai_driver[] = { }, .capture = { .stream_name = "Primary Capture", - .formats = SNDRV_PCM_FMTBIT_S16, + .formats = SNDRV_PCM_FMTBIT_S16 | + SNDRV_PCM_FMTBIT_S32, .rates = SNDRV_PCM_RATE_48000, .rate_min = 48000, .rate_max = 48000, -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.