From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 19 Nov 2025 16:07:26 +0300 From: Vitaly Chikunov To: ALT Linux kernel packages development Message-ID: References: <20251119124354.1197726-1-gnusarevda@basealt.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20251119124354.1197726-1-gnusarevda@basealt.ru> Subject: Re: [d-kernel] [PATCH] [6.12] sound: hda: enable jack detection in polling mode on Baikal-M X-BeenThere: devel-kernel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux kernel packages development List-Id: ALT Linux kernel packages development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2025 13:07:26 -0000 Archived-At: List-Archive: List-Post: 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 > 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