Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp3941965rdb; Mon, 11 Dec 2023 04:47:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IHcfhN/qF7SH0EfG4uvtzX9kxVfCa76LRpS74ob6uimL0X3D7h3dzl2hB2W8o8n1nN2zHdn X-Received: by 2002:a05:6a20:bf10:b0:18f:cfed:6cc with SMTP id gc16-20020a056a20bf1000b0018fcfed06ccmr5304295pzb.117.1702298850681; Mon, 11 Dec 2023 04:47:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702298850; cv=none; d=google.com; s=arc-20160816; b=0IaXIwfu+DGnwaWMEVPYrIeBwS8i7be7G8SFMpX8pgiX7MOq9IJdw87PeetK85kRgg CpMnIt7KJtXoCBLOjNPY+GzUzqHcaLv0AA/NXLkLjPwh0U8VljWPnHg4w5AeRN5lBbAI LJynjJfdeQd1KSzHL98hLA9c4JaSfLuo7e57ao49WavhS6+NBd6G5A7taDhi7jm5W/RV FfuWXtxe6jAVcWrzJEA6VahhAH9ZyX1D/azfuPx//SerEAdM0u+oAYDU5MzxZSvC6HYI BPNmvW/g0NFHSE9qmWY2Rp6kbKMZJ7uAqgEEyIJWHXt21EBvsLHmTThnhyW/aOTGsYJJ jNRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=+DMdFe5aVZkjeyhp4y/Ze1stCslNyXaHdo67pdOxgHc=; fh=+8NDMgJF/s99w/XgZqaItuJErorUPoZKZglUbuq9XLA=; b=YidLXwYhlkpfMpeoeoLhENYSfJF73HKtsDVYmTzSCKnTxMe6R+r5/lJDlLYIVpflth iyPMsajD/BWAYZbZWkWtFiwv3Rmf4n8hCyGBbQjsrOipNu53RI2oy2zYxUTUFawdQcug WI5VKtg0oBF2obBU4bqpwOeY4/V7TF84JCC7XaOvXQ+pFFSEsWd8jBG+laGmFG8Y/ftG nV41vwaRljepSnCGKXrOVpGKE+OXfXytWdXv7Wz5zEx7B1G30lf+aO3Vlrp4LGdU8hgQ Gw0ADCKDhvsN6MTuANpufOepQ7jDNNQmg+CSzwRDIcrfFh/y2E/CrlA+oaGFF0tiTsId WAGA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wBqCxXOY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id s19-20020a656453000000b005b977eea853si6140128pgv.694.2023.12.11.04.47.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Dec 2023 04:47:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wBqCxXOY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 68F4A8042D29; Mon, 11 Dec 2023 04:47:28 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234637AbjLKMk5 (ORCPT + 99 others); Mon, 11 Dec 2023 07:40:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343600AbjLKMks (ORCPT ); Mon, 11 Dec 2023 07:40:48 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 361698E for ; Mon, 11 Dec 2023 04:40:55 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DEAFC433C9; Mon, 11 Dec 2023 12:40:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702298454; bh=ROmUd+olsD+OTnQvuY7AsKIIZPO+4MWpYfD8N5iPbxQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wBqCxXOYNpBulZcmJMR1DC0+u8gOZ8zF8PsHHkH+vO6zic/ijVRgmtlfPmn8KXhS3 UExzqkGl4Xj9j8055spMkESNoP8FtY0PaUXebUeu6PrvSgqg7dhiNx7G0J7bH5s+lI XdEgB8Gct0rZUfwGewFcwHQQZ3Kh3X1Z7u/Ja7Qs= Date: Mon, 11 Dec 2023 13:40:52 +0100 From: Greg Kroah-Hartman To: Johan Hovold Cc: Sasha Levin , stable@vger.kernel.org, broonie@kernel.org, alsa-devel@alsa-project.org, perex@perex.cz, tiwai@suse.com, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, johan+linaro@kernel.org, srinivas.kandagatla@linaro.org Subject: Re: [PATCH 0/2] ASoC: qcom: Limit Digital gains on speaker Message-ID: <2023121146-hunger-crane-7dee@gregkh> References: <20231204124736.132185-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, 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 morse.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 (morse.vger.email [0.0.0.0]); Mon, 11 Dec 2023 04:47:28 -0800 (PST) On Mon, Dec 11, 2023 at 09:08:03AM +0100, Johan Hovold wrote: > Hi Greg and Sasha, > > On Mon, Dec 04, 2023 at 12:47:34PM +0000, srinivas.kandagatla@linaro.org wrote: > > From: Srinivas Kandagatla > > > > 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. > > > > Tested on Lenovo X13s. > > > > Srinivas Kandagatla (2): > > ASoC: ops: add correct range check for limiting volume > > ASoC: qcom: sc8280xp: Limit speaker digital volumes > > These were unfortunately not marked for stable, but could you pick them > up for 6.6? > > The upstream commits are: > > fb9ad2448508 ("ASoC: ops: add correct range check for limiting volume") > 716d4e5373e9 ("ASoC: qcom: sc8280xp: Limit speaker digital volumes") Now queued up, thanks. greg k-h