I'm trying to fix a issue with mt7620 I2S audio, and will be very nice if you could help in such effort.
Basically when playing a 1KHz tone using aplay command, the audio starts crackling every time I wrote to the squash file system. It's easy to test, enough running echo "hello" > /some_file at the same time that aplay 1KHztone.wav. BTW I'm using different mt76x8 boards.
but I'm afraid that it doesn't help. Same results in audio
Just for reference, same test with an old AR9331 board works nicely in openwrt 14.07 (even with CONFIG_HZ=100)
My feeling is that something is wrong with I2S dma. I'm struggling how to prioritise I2S over the rest of dma tasks
Hi all
FYI I've enabled I2S interrupts and the problem is gone. No audio drops at all, board works nicelly reproducing audio with aplay, madplay or mpd
but now CPU is very busy serving I2S interrupt (CPU: usr increases from 14% to 80%). Somebody that can help with this or address me on the right way in order to fix it?