sound: hda: baikal: Set jackpoll_interval

Jack sense events are supposed to be reported by codec as
"unsolicited response" but due to broken IRQ this does not work
in Baikal HDA.

Setting jackpoll_interval to 100ms in hda_baikal driver
turns on polling mode for jacksense.

Resolve #134
linux-5.10-elp
Vadim V. Vlasov 2023-06-02 17:50:34 +03:00
parent 5def39d0ca
commit 98e181c01f
1 changed files with 1 additions and 0 deletions

View File

@ -380,6 +380,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 = 100; /* 100ms */
chip->single_cmd = false;
chip->snoop = true;