NetBSD/src nSVxB4s — sys/arch/arm/sunxi sunxi_codec.c
Remove sunxi_codec_drain(). It's optional, and as the DMA is not stopped at this time I'm not sure what draining the fifo means here. Also, we're not waiting for the drain to complete. The upper level will play enough silence when needed to make sure interesting data have been played. In sunxi_codec_halt_output() and sunxi_codec_halt_input(), drain the fifo (and wait for it to complete) before or after disabling the DMA.
Version | Delta | File | |
---|---|---|---|
1.5 | +18 | -21 | sys/arch/arm/sunxi/sunxi_codec.c |
+18 | -21 | 1 files |