Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.0 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8894BC433E0 for ; Tue, 11 Aug 2020 12:51:09 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6939E2075D for ; Tue, 11 Aug 2020 12:51:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728081AbgHKMvI (ORCPT ); Tue, 11 Aug 2020 08:51:08 -0400 Received: from mx2.suse.de ([195.135.220.15]:38658 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726829AbgHKMvI (ORCPT ); Tue, 11 Aug 2020 08:51:08 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id C674BB027; Tue, 11 Aug 2020 12:51:27 +0000 (UTC) Date: Tue, 11 Aug 2020 14:51:06 +0200 Message-ID: From: Takashi Iwai To: Hui Wang Cc: alsa-devel@alsa-project.org, kai.heng.feng@canonical.com, stable@vger.kernel.org Subject: Re: [PATCH] ALSA: hda - reverse the setting value in the micmute_led_set In-Reply-To: <20200811122430.6546-1-hui.wang@canonical.com> References: <20200811122430.6546-1-hui.wang@canonical.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: stable-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: stable@vger.kernel.org On Tue, 11 Aug 2020 14:24:30 +0200, Hui Wang wrote: > > Before the micmute_led_set() is introduced, the function of > alc_gpio_micmute_update() will set the gpio value with the > !micmute_led.led_value, and the machines have the correct micmute led > status. After the micmute_led_set() is introduced, it sets the gpio > value with !!micmute_led.led_value, so the led status is not correct > anymore, we need to set micmute_led_polarity = 1 to workaround it. > > Now we fix the micmute_led_set() and remove micmute_led_polarity = 1. > > Fixes: 87dc36482cab ("ALSA: hda/realtek - Add LED class support for micmute LED") > Reported-and-suggested-by: Kai-Heng Feng > Cc: > Signed-off-by: Hui Wang Thanks, applied. Takashi