Hello,
On Mon, Apr 1, 2024 at 10:11 PM Oswald Buddenhagen oswald.buddenhagen@gmx.de wrote:
Signed-off-by: Oswald Buddenhagen oswald.buddenhagen@gmx.de
Is this right? The comment on the field says "fifo entries of AC97/I2S PSC", which doesn't suggest bytes. The data sheet speaks of "words" and "byte masks", but without digging into it I can't tell how it would behave with different sample widths and channel counts (which the driver does not seem to limit _at all_? what am I missing?).
Each fifo entry contains a sample; wordsize is configured in register 0x08[24:21]. The fifo is 16 samples deep, so you can have 8 stereo frames or 16 mono frames queued up. But the fifo isn't managed by hand, dma transfers are used instead and the amount of transmitted bytes is extracted from DMA information, so I think this change is pointless.
Manuel