RE: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-12 Thread Yuan, Perry
.kernel.org > Subject: Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support > > > [EXTERNAL EMAIL] > > > >>>>> +#if IS_ENABLED(CONFIG_DELL_PRIVACY) > >>>>> + /* Privacy LED Trigger State Changed by muted/unmute switch *

Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-12 Thread Pierre-Louis Bossart
+#if IS_ENABLED(CONFIG_DELL_PRIVACY) + /* Privacy LED Trigger State Changed by muted/unmute switch */ + if (mc->invert) { + val0 = ucontrol->value.integer.value[0]; + val1 = ucontrol->value.integer.value[1]; + if (val0 == 1 && val1 == 1) {

RE: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-12 Thread Yuan, Perry
@kernel.org > Subject: RE: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support > > > > -Original Message- > > > From: Pierre-Louis Bossart > > > Sent: 2021年1月12日 2:07 > > > To: Yuan, Perry; oder_ch...@realtek.com; pe...@perex.cz; > >

RE: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-12 Thread Limonciello, Mario
@vger.kernel.org; broo...@kernel.org > > Subject: Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support > > > > > > [EXTERNAL EMAIL] > > > > > > > > > > > @@ -268,6 +269,7 @@ static int rt715_sdca_put_volsw(struct snd_kcontrol >

RE: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-11 Thread Yuan, Perry
rnel.org > Subject: Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support > > > [EXTERNAL EMAIL] > > > > > > @@ -268,6 +269,7 @@ static int rt715_sdca_put_volsw(struct snd_kcontrol > *kcontrol, > > unsigned int reg2 = mc->rreg; > >

Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-11 Thread Pierre-Louis Bossart
@@ -268,6 +269,7 @@ static int rt715_sdca_put_volsw(struct snd_kcontrol *kcontrol, unsigned int reg2 = mc->rreg; unsigned int reg = mc->reg; unsigned int max = mc->max; + unsigned int val0, val1; int err; val = ucontrol->value.integer.value[0];

RE: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-04 Thread Limonciello, Mario
girdw...@gmail.com; alsa-de...@alsa-project.org; linux- > > ker...@vger.kernel.org; Limonciello, Mario > > Subject: Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support > > > > On Mon, Dec 28, 2020 at 09:38:31PM +0800, Perry Yuan wrote: > > > From: Perry

RE: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2021-01-04 Thread Yuan, Perry
> Subject: Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support > > On Mon, Dec 28, 2020 at 09:38:31PM +0800, Perry Yuan wrote: > > From: Perry Yuan > > > > Some new Dell system is going to support audio internal micphone > > privacy setting from h

Re: [PATCH v2 2/2] ASoC: rt715:add Mic Mute LED control support

2020-12-29 Thread Mark Brown
On Mon, Dec 28, 2020 at 09:38:31PM +0800, Perry Yuan wrote: > From: Perry Yuan > > Some new Dell system is going to support audio internal micphone > privacy setting from hardware level with micmute led state changing I'm missing patch 1 of this series - what's the story with dependencies and