As promised, I got some sleep and rewrote most of the driver... playback is still a bit spotty, but at least interrupts are not enabled constantly any more. Also discovered a feature: messing with the LINE/MIC bit in GAINCTL has the side effect of wedging the chip under some circumstances, but I think this can be worked around by resetting the codec... later.
As promised, I got some sleep and rewrote most of the driver... playback
is still a bit spotty, but at least interrupts are not enabled constantly
any more.
Also discovered a feature: messing with the LINE/MIC bit in GAINCTL has
the side effect of wedging the chip under some circumstances, but I think
this can be worked around by resetting the codec... later.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars