Received: by 2002:a5d:925a:0:0:0:0:0 with SMTP id e26csp307658iol; Thu, 9 Jun 2022 04:24:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1uQIRxtH2+oRjZkAFZw+BIwgPWQwJzzVEpYZG78FMQ4M2yol4B676uyzBtAY9d8K1EQzj X-Received: by 2002:a17:906:7951:b0:6fe:f0b0:8d1e with SMTP id l17-20020a170906795100b006fef0b08d1emr36000845ejo.300.1654773894699; Thu, 09 Jun 2022 04:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654773894; cv=none; d=google.com; s=arc-20160816; b=YKc0YDuQ/vXjvBiQ7pBl7gDgC/WaXx+brc2ZpavMl4YSAg5bf84cUzedbJEyNurQh5 Rpsb9yL++aVhW55AvGdoPoFMVIMOpFQJ0PTYN+EsVS4Sogsk92sKeprPYrqLGQnANsfe TeJ5hjcla+Bx3XxsNV9rVtpqZKYHGURsKfLq23S06d+tbZwRzhooPA/gvYCXRdKJxQkr v8oo8qJES+3F6hl4jRIPHATvWKsmZ1v8Q1/if9dEklu6sthc2cSWslcQZpI0kWBckbQd Fh8kOEEFloLP/aLVQxVC3av4dP7kE9OTQvSVp8CmYF8rvk0AExzdGagGn6L7KPSieUoT qVLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=PqMs3a5YintB0gVdU2B3xyiVVe9JXV55Eno0UBh+s+0=; b=EKjzGKKyKaMzsUf800P/5gXe08gxeAOey/On0dr7ZUttV4Ikes3bknLrh3oIZU090U GVWfLh1cmdT41Z05oG/PQk3tdVC0l7zfk8aP2Gl+b+hVmPWInMMgrL1RutkaIjpRqu+H eZId/VWdHM8Pa3IBZdyjPReuaGtNw3+unucre/Pm5YA8fWxlUKI7icW537BMgrsSmuEc b1nlclb573L+SzxLU2AwRD+S+ZWldAJ12yL7OwQC0biSn3bgcWB0oRaRDhjbGCaXzDMc Js6MwJ9wcCC/Uc7cZOedqzRh99ByOMSdN/tm2SefjQvEXU/iRjNizectaxAznaABT/n/ NDwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v7+74RRA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id n21-20020a509355000000b0042bcbb48fe4si26198765eda.240.2022.06.09.04.24.28; Thu, 09 Jun 2022 04:24:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=v7+74RRA; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238822AbiFILTP (ORCPT + 99 others); Thu, 9 Jun 2022 07:19:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54332 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235095AbiFILTN (ORCPT ); Thu, 9 Jun 2022 07:19:13 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 582E734BAB for ; Thu, 9 Jun 2022 04:19:11 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id r123-20020a1c2b81000000b0039c1439c33cso12421979wmr.5 for ; Thu, 09 Jun 2022 04:19:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PqMs3a5YintB0gVdU2B3xyiVVe9JXV55Eno0UBh+s+0=; b=v7+74RRAbyju487rK4ntR27tiHtCsewTc/zp5hlgHR3kJcOJnCNRWY5VFBd9G/K6Wz D1TjizVKFmdemSS28zrviDlHkf4azNLJjsrHE9wOsKtrneN11Qpca/bFltFZLSzBMMrm TREmJFHSjwRwbFSQfpKIFI7SjddVQOWjpMWFe9pBsZWVQbg+kGWFDyGGghEotOKt2P4Y SAYviRvOAWEZddl5Cha1N4GCPKN372GcbKgCiau2Ai2A80QfwJdgR2OdD93STz3DwgH+ NGDocMYB/8afYFTP3XQJms6YL4ADQfQ1digdSdAYi/wPbZ/G6OZjETxOM+iaS33aXteF osHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=PqMs3a5YintB0gVdU2B3xyiVVe9JXV55Eno0UBh+s+0=; b=b6gu7M0X5XDEKPMpqIcOkLv81bL3T/1oYoOaJSWsUTC+tUHmdurn7aHG2ynOx2oDmC iyjBzaxwHqDgL1b5YXG4MV5348hRqRKUMNRUKmRkGnXCpdfjN3vIZJ7nRd7gut/GSg6F znTsi1MzwQ9aVotaZIOXzRFz0yPrI+k5F7KOHA0FSP2XcaN28d6g5vIYzEE6dOOlvpOG pVU+aE8tvi8dy2J4pxTH6gwAsdWrrJjGbzzjpMSUAofNdAZYp1fJpsE6DYVO0SQqo986 QaHgVxlfaAX4POrCI+S5jxAnPVXg7k7IjVm2fy/FiPfX9NwQU7W5aVGlVJBp8ktKCgSf AT9A== X-Gm-Message-State: AOAM532vlmrKSC9Xv17JCXYTnzevFoyNPg9gh1thEBTSkfXjvrHpgew+ XBXDENF+7AZ1H8r2pOt4YEXRbA== X-Received: by 2002:a05:600c:3386:b0:39c:5b81:af9e with SMTP id o6-20020a05600c338600b0039c5b81af9emr2826341wmp.2.1654773549938; Thu, 09 Jun 2022 04:19:09 -0700 (PDT) Received: from srini-hackbase.lan (cpc90716-aztw32-2-0-cust825.18-1.cable.virginm.net. [86.26.103.58]) by smtp.gmail.com with ESMTPSA id o22-20020a1c7516000000b003942a244ed1sm26477850wmc.22.2022.06.09.04.19.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jun 2022 04:19:09 -0700 (PDT) From: Srinivas Kandagatla To: broonie@kernel.org Cc: alsa-devel@alsa-project.org, lgirdwood@gmail.com, perex@perex.cz, tiwai@suse.com, linux-kernel@vger.kernel.org, Srinivas Kandagatla Subject: [PATCH 0/2] ASoC: codecs: qualcomm move gain to S8_TLV Date: Thu, 9 Jun 2022 12:18:59 +0100 Message-Id: <20220609111901.318047-1-srinivas.kandagatla@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Move all the digital and IIR gains form using SX_TLV to S8_TLV, these gains are actually 8 bit gains with 7th signed bit and ranges from -84dB to +40dB Tested on DB410c with Headset playback Thanks, Srini Srinivas Kandagatla (2): ASoC: codecs: msm8916-wcd-digital: move gains from SX_TLV to S8_TLV ASoC: codecs: wcd9335: move gains from SX_TLV to S8_TLV sound/soc/codecs/msm8916-wcd-digital.c | 46 +++++++-------- sound/soc/codecs/wcd9335.c | 81 ++++++++++++-------------- 2 files changed, 59 insertions(+), 68 deletions(-) -- 2.25.1