you will also need to schedule the driver to call ad198x_handle_hp_jack and ad198x_handle_lo_jack in intel8x0.c periodically similar to hda vt1708 codec
https://git.kernel.org/cgit/linux/kernel/git/tiwai/sound.git/commit/sound/pci/hda/patch_via.c?id=187d333edc0a8e1bb507900ce89853ffe3bd2c84
you will also need to schedule the driver to call ad198x_ handle_ hp_jack and ad198x_ handle_ lo_jack in intel8x0.c periodically similar to hda vt1708 codec
https:/ /git.kernel. org/cgit/ linux/kernel/ git/tiwai/ sound.git/ commit/ sound/pci/ hda/patch_ via.c?id= 187d333edc0a8e1 bb507900ce89853 ffe3bd2c84