* [d-kernel] [PATCH] [6.12] sound: hda: enable jack detection in polling mode on Baikal-M
@ 2025-11-19 12:43 Daniil Gnusarev
2025-11-19 13:07 ` Vitaly Chikunov
0 siblings, 1 reply; 2+ messages in thread
From: Daniil Gnusarev @ 2025-11-19 12:43 UTC (permalink / raw)
To: gnusarevda, devel-kernel
Since interrupts are not used, manual polling of codecs
is required to detect new connections.
Signed-off-by: Daniil Gnusarev <gnusarevda@basealt.ru>
Do-not-upstream: this is a feature of Baikal-M
---
sound/pci/hda/hda_baikal.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sound/pci/hda/hda_baikal.c b/sound/pci/hda/hda_baikal.c
index faf029d60662c9..86f6fa69c568e8 100644
--- a/sound/pci/hda/hda_baikal.c
+++ b/sound/pci/hda/hda_baikal.c
@@ -377,6 +377,7 @@ static int hda_baikal_create(struct snd_card *card,
INIT_WORK(&hda->irq_pending_work, azx_irq_pending_work);
chip->codec_probe_mask = 0x3; /* two codecs */
+ chip->jackpoll_interval = msecs_to_jiffies(1000); /* 1000ms */
chip->single_cmd = false;
chip->snoop = true;
--
2.42.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [d-kernel] [PATCH] [6.12] sound: hda: enable jack detection in polling mode on Baikal-M
2025-11-19 12:43 [d-kernel] [PATCH] [6.12] sound: hda: enable jack detection in polling mode on Baikal-M Daniil Gnusarev
@ 2025-11-19 13:07 ` Vitaly Chikunov
0 siblings, 0 replies; 2+ messages in thread
From: Vitaly Chikunov @ 2025-11-19 13:07 UTC (permalink / raw)
To: ALT Linux kernel packages development
On Wed, Nov 19, 2025 at 04:43:54PM +0400, Daniil Gnusarev wrote:
> Since interrupts are not used, manual polling of codecs
> is required to detect new connections.
>
> Signed-off-by: Daniil Gnusarev <gnusarevda@basealt.ru>
> Do-not-upstream: this is a feature of Baikal-M
Applied, thanks
> ---
> sound/pci/hda/hda_baikal.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/sound/pci/hda/hda_baikal.c b/sound/pci/hda/hda_baikal.c
> index faf029d60662c9..86f6fa69c568e8 100644
> --- a/sound/pci/hda/hda_baikal.c
> +++ b/sound/pci/hda/hda_baikal.c
> @@ -377,6 +377,7 @@ static int hda_baikal_create(struct snd_card *card,
> INIT_WORK(&hda->irq_pending_work, azx_irq_pending_work);
>
> chip->codec_probe_mask = 0x3; /* two codecs */
> + chip->jackpoll_interval = msecs_to_jiffies(1000); /* 1000ms */
>
> chip->single_cmd = false;
> chip->snoop = true;
> --
> 2.42.2
>
> _______________________________________________
> devel-kernel mailing list
> devel-kernel@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/devel-kernel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-19 13:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-19 12:43 [d-kernel] [PATCH] [6.12] sound: hda: enable jack detection in polling mode on Baikal-M Daniil Gnusarev
2025-11-19 13:07 ` Vitaly Chikunov
ALT Linux kernel packages development
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \
devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com
public-inbox-index devel-kernel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git