Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5869295pxu; Thu, 22 Oct 2020 13:11:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwb3e9sTXU8t0EADOEVMIC3GwF4cnr/FNHQXwKhU0FJEHaJ5MkmojHqd3eTydc/vWsLsSaO X-Received: by 2002:a50:eb8c:: with SMTP id y12mr3684910edr.61.1603397495905; Thu, 22 Oct 2020 13:11:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603397495; cv=none; d=google.com; s=arc-20160816; b=vv1vXemVb0mw+j5uBolxFCfwn2M0Dm8bjHRc7jczRKMXDfNVJ2Q3J+rwVxx1f060eb rCssdsiPnZ39d3jTNYQERMsfL6pBlURrtyBUE9pFSBCYnuiQxKLV2oAx4vzZtfaoxYbr AfIWq2Ii0yw5XLbiBYPGD41jTojFv9B6woeF5iwZVYyQftYblmfNdSwfyO2Q/xgMU8MS kb12W1SAwPjDX5nOEWR8MjLQ4x2xjDOMD70nZgaB6qdwy5ajtfphfzavNcMxUQSijQhI ylsGriiv6wRam/J51RX1FNKLXK+unWLYPq2jtlcLCwHqMIRDi9df6XJofKJhgDvorAio j73Q== 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=zyk+rmaPFWFn8X4EommTKBeeayYl4rYBD+sOjpF0y08=; b=Wzt/36Nv9dcwOKOdveUK030SJQo0iN5R/uUZEvHP9tasFr0crbw/SOp9MiS3xQEjOT cjLt+zr0wwctn08ZYJC9QKegRWq31HgtCaLchl1FeIVecpZJ89VUreKe6ufleGLqmRhQ 8zy8ePkWtBFH0yl1S8ueLpRaK6XkHQPhzSGDtMrD/0SLhlUmzTATA4AfmmW3nkDnIGTL S9HUGnMZ/rOIedmJOyqfXqFKoBFeNrey/7mhzJIavk3eU3Y69684pljhV9gN6k/2FKXP 38W2Antcys6atK42ahhB9y2jiaN1UeI1f7ENvNTqbbRlSjAT7V+IZI+c4yJkWL5Vhqkb QT5w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=AYhZBCq1; 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 i11si1626572eje.415.2020.10.22.13.11.14; Thu, 22 Oct 2020 13:11:35 -0700 (PDT) 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=AYhZBCq1; 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 S2895099AbgJVN1U (ORCPT + 99 others); Thu, 22 Oct 2020 09:27:20 -0400 Received: from m42-4.mailgun.net ([69.72.42.4]:46550 "EHLO m42-4.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2442854AbgJVN1U (ORCPT ); Thu, 22 Oct 2020 09:27:20 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1603373240; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=zyk+rmaPFWFn8X4EommTKBeeayYl4rYBD+sOjpF0y08=; b=AYhZBCq17ZagmUa0mFz0Y/RDcInMQ7dKYF7AEdlDSjIys8isMpYBk3QzlxibDpslTOEb1kNJ jJiTbP4u50lWWYp4N5Zze3hofkbAD62taZRJuV6/Ei5RY3bPEcOJgRt3rqn0avkZgDU1O4Bb xbqxghlLRUy+G3Djgr1KmPx80Gg= X-Mailgun-Sending-Ip: 69.72.42.4 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-n01.prod.us-east-1.postgun.com with SMTP id 5f9188b4ef891f1ee2621208 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 22 Oct 2020 13:27:16 GMT Sender: srivasam=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id AE909C433FF; Thu, 22 Oct 2020 13:27:15 +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 03427C433C9; Thu, 22 Oct 2020 13:27:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 03427C433C9 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 Mandadapu Subject: [PATCH] Asoc: qcom: lpass-sc7180: Fix MI2S bitwidth field bit positions Date: Thu, 22 Oct 2020 18:56:59 +0530 Message-Id: <1603373219-19374-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 Update SC7180 lpass_variant structure with proper I2S bitwidth field bit positions, as bitwidth denotes 0 to 1 bits, but previously used only 0 bit. Fixes: commit cba62c8b49bead ("Merge series "ASoC: qcom: Add support for SC7180 lpass variant" from Rohit kumar :") Signed-off-by: V Sujith Kumar Reddy Signed-off-by: Srinivasa Rao Mandadapu --- sound/soc/qcom/lpass-sc7180.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/qcom/lpass-sc7180.c b/sound/soc/qcom/lpass-sc7180.c index c6292f9e..bc998d5 100644 --- a/sound/soc/qcom/lpass-sc7180.c +++ b/sound/soc/qcom/lpass-sc7180.c @@ -188,7 +188,7 @@ static struct lpass_variant sc7180_data = { .micmode = REG_FIELD_ID(0x1000, 4, 8, 3, 0x1000), .micmono = REG_FIELD_ID(0x1000, 3, 3, 3, 0x1000), .wssrc = REG_FIELD_ID(0x1000, 2, 2, 3, 0x1000), - .bitwidth = REG_FIELD_ID(0x1000, 0, 0, 3, 0x1000), + .bitwidth = REG_FIELD_ID(0x1000, 0, 1, 3, 0x1000), .rdma_dyncclk = REG_FIELD_ID(0xC000, 21, 21, 5, 0x1000), .rdma_bursten = REG_FIELD_ID(0xC000, 20, 20, 5, 0x1000), -- Qualcomm India Private Limited, on behalf of Qualcomm Innovation Center, Inc., is a member of Code Aurora Forum, a Linux Foundation Collaborative Project.