From: Takashi Iwai <tiwai@suse.de>
To: soxiebing <soxiebing@163.com>
Cc: tiwai@suse.com, linux-sound@vger.kernel.org,
linux-kernel@vger.kernel.org,
songxiebing <songxiebing@kylinos.cn>,
bo liu <bo.liu@senarytech.com>
Subject: Re: [PATCH] ALSA: hda: conexant: Fix headset auto detect fail in the polling mode
Date: Fri, 26 Jul 2024 09:08:06 +0200 [thread overview]
Message-ID: <87r0bghbqh.wl-tiwai@suse.de> (raw)
In-Reply-To: <20240726012342.8645-1-soxiebing@163.com>
On Fri, 26 Jul 2024 03:23:42 +0200,
soxiebing wrote:
>
> From: songxiebing <songxiebing@kylinos.cn>
>
> This patch(7aeb25908648) only handles the unsol_event reporting during
It should be rather "The previous fix (7aeb25908648)". "This" points
the very patch you send now :)
> interrupts and does not include the polling mode used to set jackroll_ms,
> so now we are replacing it with snd_hda_jack_detect_enable_callback.
>
> Fixes: 7aeb25908648 ("Fix headset auto detect fail in cx8070 and SN6140")
Don't drop "ALSA: hda/conexant:" prefix but copy the full subject line.
> Co-developed-by: bo liu <bo.liu@senarytech.com>
Usually Co-developed-by is followed by a Signed-off-by of that
author.
> Signed-off-by: songxiebing <songxiebing@kylinos.cn>
And, I noticed a typo in the patch that broke the compilation:
> -static void cx_update_headset_mic_vref(struct hda_codec *codec, unsigned int res)
> +static void cx_update_headset_mic_vref(struct hda_codec *codec, struct hda_jack_callback *event)
> {
> - unsigned int phone_present, mic_persent, phone_tag, mic_tag;
> - struct conexant_spec *spec = codec->spec;
> + unsigned int mic_persent;
... here.
Please make sure that the patch really works before submission.
Also, run scripts/checkpatch.pl for checking the coding style and the
patch formalities.
thanks,
Takashi
next prev parent reply other threads:[~2024-07-26 7:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-26 1:23 [PATCH] ALSA: hda: conexant: Fix headset auto detect fail in the polling mode soxiebing
2024-07-26 7:08 ` Takashi Iwai [this message]
2024-07-26 9:41 ` soxiebing
2024-07-26 10:07 ` [PATCH v2] " soxiebing
2024-07-26 14:20 ` Takashi Iwai
-- strict thread matches above, loose matches on Subject: below --
2024-07-25 8:26 [PATCH] " soxiebing
2024-07-25 13:10 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0bghbqh.wl-tiwai@suse.de \
--to=tiwai@suse.de \
--cc=bo.liu@senarytech.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=songxiebing@kylinos.cn \
--cc=soxiebing@163.com \
--cc=tiwai@suse.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox