Boot images for XT926 and XT907 stock kitkat:
Both boot images contain the recompiled stock kitkat kernel with increased sleep time after lineout PA enable, as in this commit: https://github.com/CyanogenMod/andro...435380750bd78e
To be flashed via fastboot:
fastboot flash boot bootXT926speakerfix.img
fastboot flash boot bootXT907speakerfix.img
(xt897 haven't got an official kitkat update yet, and it's possible that it won't happen for Photon Q at all.)
Be prepared to flash the stock kitkat boot.img in case of a failure if you're going to test this. You've been warned.
Please let me know how it works for you, thanks.
EDIT: links updated to correctly re-packed boot images.
xt926 boot image already confirmed to boot fine and fix the issue (by iBolski).