[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a557561fef13e030c3b64eec62e3fd5c2e86e6d5.camel@linux.intel.com>
Date: Thu, 30 Apr 2020 16:24:55 -0700
From: Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>
To: Kai-Heng Feng <kai.heng.feng@...onical.com>,
pierre-louis.bossart@...ux.intel.com, lgirdwood@...il.com,
kai.vehmanen@...ux.intel.com, daniel.baluta@....com
Cc: Mark Brown <broonie@...nel.org>, Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Jaska Uimonen <jaska.uimonen@...ux.intel.com>,
"moderated list:SOUND - SOUND OPEN FIRMWARE (SOF) DRIVERS"
<sound-open-firmware@...a-project.org>,
"moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM..."
<alsa-devel@...a-project.org>,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] ASoC: SOF: Update correct LED status at the first time
usage of update_mute_led()
On Thu, 2020-04-30 at 17:11 +0800, Kai-Heng Feng wrote:
> At the first time update_mute_led() gets called, if channels are
> already
> muted, the temp value equals to led_value as 0, skipping the
> following
> LED setting.
>
> So set led_value to -1 as an uninitialized state, to update the
> correct
> LED status at first time usage.
>
> Fixes: 5d43001ae436 ("ASoC: SOF: acpi led support for switch
> controls")
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@...onical.com>
LGTM, thanks!
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@...ux.intel.com>
Powered by blists - more mailing lists