Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp270387rdb; Tue, 5 Dec 2023 05:12:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZGA1+CkOImSSlRL+iZXTKROkPphx4OmQF62nviWr77/q/zJOIwMwf4SZ/9Dj03+9+I2gj X-Received: by 2002:a05:6358:5e14:b0:16f:eee7:728a with SMTP id q20-20020a0563585e1400b0016feee7728amr7825848rwn.8.1701781933160; Tue, 05 Dec 2023 05:12:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701781933; cv=none; d=google.com; s=arc-20160816; b=MLYm/zmAi6JGpca45x8WV9dQQ+1pCd2EXa8R7lEf4DAvRsnDPjGZnXfGAIT/1p7pSk IkMLHJE9qmRRiioS/BOSlSXrlWIafRoi0LrEE7MibWvzhaPyyNXMuahzufaD7h0skJDa A5qsxlugQqcJ7Lfuqh3Ue+yRStYc4Da1VkYk9xD5eQzPahj7qrbjd75GHcfc9IhviZ56 aY039GZaIFCgm+ClEo6f9AZ6tZfVovYbjPrnH/x828IgLJsE8HU87rwUeDvHLVzhAF97 Pnq872laRu/H6f/isnb4tiAkVM4zh38FZ74TfZv9XEk9wveEPG3nJPKjxemApLYYS+CG q3WA== 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:date :message-id:subject:references:in-reply-to:cc:to:from:dkim-signature; bh=GhO/DhQQb6dWZq/i2NEgHb5+8DL7dj0xcjpt9JidN/Q=; fh=5W0xCjBzctD8E7YJd0BUHVLvcGa41qXg9a7ThsE1YMc=; b=IyOubtsP2BXhW+oc7ih0nJ67phredYVuj9AHT9Hg4EFRwzXz4ESAFh7Bu/KxZqG+LL hYnH50WGEMqJcq3Z1EQ7w83rAGKA1xdRcdtaA3qUWM9V5lr71lPp4NVY3HVlxERviW0F JIui+PQ3zecsvEiw+Wjejz+YzvuD9calUp1Cyvzhfrkv+mmmyi7f1H3efJvgTIYhkPuo MXLYEu83BPhObAgbI0QE+x9b7aePy+oYCKCHhUhsz5a3m6qBfJn7UrhUlbd5CXtrNxz6 PUVqpIv/6KplXD2s81iMdrYffXfGbOTfdEX9LmezGjwz1eOS4meG7oyQbPAT575yW3js HAKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IYQDcemZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id 33-20020a631061000000b005c6183ccab2si9392537pgq.630.2023.12.05.05.12.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Dec 2023 05:12:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IYQDcemZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 041528136BD0; Tue, 5 Dec 2023 05:12:06 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232080AbjLENLq (ORCPT + 99 others); Tue, 5 Dec 2023 08:11:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46232 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232027AbjLENLp (ORCPT ); Tue, 5 Dec 2023 08:11:45 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 43E9F129 for ; Tue, 5 Dec 2023 05:11:52 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68367C433C8; Tue, 5 Dec 2023 13:11:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701781911; bh=1TCYwVKEloYGEL2guMDbGsAh6Bv9GHm+H5QB2DEoszc=; h=From:To:Cc:In-Reply-To:References:Subject:Date:From; b=IYQDcemZy4fOvY4j6DGWriCZAhFx5utnLusxL9J8g6lMx7UGl+mr16IpLf3NrBR+u 4zjZvGY7iEkXpsSEiC5uFTSXUOfIoTBvUDy8p+iEezUASMeSO4+zY6syRQZm6uzaGu +WDreO+v+Z2Lce9oE3Ndlo+muvV3Q/VQBagDCc+fq7V9AFySVsslXJTERTn7JQg0qS w6JweKbbPYWNxVKJ9Sh9lGL9buuE/tvN55OCeXK3+tPnJOMqZer0VWa6U62B1TpHWo F6c7LBsaupDWuhHBLnTLvIuH3vSLzWMww4yqaeZFykFq3tgBACRFRdjYehtCWnJHcv jlNbJZ0MY1O5Q== From: Mark Brown To: alsa-devel@alsa-project.org, srinivas.kandagatla@linaro.org Cc: perex@perex.cz, tiwai@suse.com, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, johan+linaro@kernel.org In-Reply-To: <20231204124736.132185-1-srinivas.kandagatla@linaro.org> References: <20231204124736.132185-1-srinivas.kandagatla@linaro.org> Subject: Re: [PATCH 0/2] ASoC: qcom: Limit Digital gains on speaker Message-Id: <170178191007.32878.14836362585756098271.b4-ty@kernel.org> Date: Tue, 05 Dec 2023 13:11:50 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.13-dev-5c066 X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 05 Dec 2023 05:12:06 -0800 (PST) On Mon, 04 Dec 2023 12:47:34 +0000, srinivas.kandagatla@linaro.org wrote: > Limit the speaker digital gains to 0dB so that the users will not damage them. > Currently there is a limit in UCM, but this does not stop the user form > changing the digital gains from command line. So limit this in driver > which makes the speakers more safer without active speaker protection in > place. > > Apart from this there is also a range check fix in snd_soc_limit_volume > to allow setting this limit correctly. > > [...] Applied to https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next Thanks! [1/2] ASoC: ops: add correct range check for limiting volume commit: fb9ad24485087e0f00d84bee7a5914640b2b9024 [2/2] ASoC: qcom: sc8280xp: Limit speaker digital volumes commit: 716d4e5373e9d1ae993485ab2e3b893bf7104fb1 All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted. You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed. If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced. Please add any relevant lists and maintainers to the CCs when replying to this mail. Thanks, Mark