From: Peter Ujfalusi Date: Fri, 12 Aug 2016 10:52:10 +0000 (+0300) Subject: ASoC: omap-mcbsp: Enable TX/RX under and overflow interrupts X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4e85e7776eba5f6d5a3b8b43f34001a73c5d08a1;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ASoC: omap-mcbsp: Enable TX/RX under and overflow interrupts FIFO under or overflow can cause channel swaps and data loss. Reporting them can help to identify such events. Signed-off-by: Peter Ujfalusi Signed-off-by: Mark Brown --- diff --git a/sound/soc/omap/mcbsp.c b/sound/soc/omap/mcbsp.c index 76ce33199bf9..06fec5699cc8 100644 --- a/sound/soc/omap/mcbsp.c +++ b/sound/soc/omap/mcbsp.c @@ -221,7 +221,8 @@ void omap_mcbsp_config(struct omap_mcbsp *mcbsp, /* Enable TX/RX sync error interrupts by default */ if (mcbsp->irq) - MCBSP_WRITE(mcbsp, IRQEN, RSYNCERREN | XSYNCERREN); + MCBSP_WRITE(mcbsp, IRQEN, RSYNCERREN | XSYNCERREN | + RUNDFLEN | ROVFLEN | XUNDFLEN | XOVFLEN); } /**