OSS trident: fix locking around write_voice_regs