[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <168fe6c3-6a7d-4019-16e3-066caf394b8a@redhat.com>
Date: Tue, 5 Apr 2022 11:00:44 +0200
From: Hans de Goede <hdegoede@...hat.com>
To: Mauro Carvalho Chehab <mchehab@...nel.org>,
Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
Cc: Péter Ujfalusi <peter.ujfalusi@...ux.intel.com>,
Bard Liao <yung-chuan.liao@...ux.intel.com>,
Cezary Rojewski <cezary.rojewski@...el.com>,
Jaroslav Kysela <perex@...ex.cz>,
Jie Yang <yang.jie@...ux.intel.com>,
Liam Girdwood <liam.r.girdwood@...ux.intel.com>,
Mark Brown <broonie@...nel.org>, Takashi Iwai <tiwai@...e.com>,
alsa-devel@...a-project.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 0/2] Make headphone work on Huawei Matebook D15
Hi,
On 4/5/22 10:44, Mauro Carvalho Chehab wrote:
> At Huawei Matebook D15 two different GPIOs are used to control the output:
> - gpio0 controls the speaker output;
> - gpio1 controls the headphone output.
>
> Changing both at the same time cause spurious events that are mis-interpreted
> as input events, causing troubles on apps. So, a delay is needed before turning
> on such gpios.
>
> With this patch, plugging a headphone causes a jack event to trigger the speaker
> supply, powering down the speaker and powering up the headphone output.
> Removing the headphone also triggers the power supply, powering up the speaker
> and powering down the headphone.
>
> Mauro Carvalho Chehab (2):
> ASoC: Intel: sof_es8336: support a separate gpio to control headphone
> ASoC: Intel: sof_es8336: Huawei Matebook D15 uses a headphone gpio
There is something weird with the patches here, at least for me in Thunderbird
both patches show up as nameless attachments to emails with empty bodies.
After saving the attachments the patches look good to me, so:
Acked-by: Hans de Goede <hdegoede@...hat.com>
for the series.
Regards,
Hans
Powered by blists - more mailing lists