diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2016-08-12 13:52:10 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-08-12 11:58:39 +0100 |
commit | 4e85e7776eba5f6d5a3b8b43f34001a73c5d08a1 (patch) | |
tree | 0e46ea6b0335b736fb11b4b28dcb4aad81348e86 /sound/soc/omap/mcbsp.c | |
parent | 29b4817d4018df78086157ea3a55c1d9424a7cfc (diff) | |
download | op-kernel-dev-4e85e7776eba5f6d5a3b8b43f34001a73c5d08a1.zip op-kernel-dev-4e85e7776eba5f6d5a3b8b43f34001a73c5d08a1.tar.gz |
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 <peter.ujfalusi@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/omap/mcbsp.c')
-rw-r--r-- | sound/soc/omap/mcbsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/soc/omap/mcbsp.c b/sound/soc/omap/mcbsp.c index 76ce331..06fec56 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); } /** |