aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel
diff options
context:
space:
mode:
authorBo Shen <voice.shen@atmel.com>2013-07-03 04:37:57 -0400
committerMark Brown <broonie@linaro.org>2013-07-15 06:07:55 -0400
commitf1b0dd8b9377590b387fd21ba67081ed0e7111e3 (patch)
tree28f781bde3df3d548d6764e73c66b15869f3c389 /sound/soc/atmel
parent01f00d55a7f21b966417fece78214154f01590ed (diff)
ASoC: atmel_ssc_dai: add error mask define
add error mask define, which will be used when execute DMA transfer Signed-off-by: Bo Shen <voice.shen@atmel.com> Reviewed-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/atmel')
-rw-r--r--sound/soc/atmel/atmel_ssc_dai.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index 6cf9cf1238cc..1ab47639f11c 100644
--- a/sound/soc/atmel/atmel_ssc_dai.c
+++ b/sound/soc/atmel/atmel_ssc_dai.c
@@ -73,6 +73,7 @@ static struct atmel_ssc_mask ssc_tx_mask = {
73 .ssc_disable = SSC_BIT(CR_TXDIS), 73 .ssc_disable = SSC_BIT(CR_TXDIS),
74 .ssc_endx = SSC_BIT(SR_ENDTX), 74 .ssc_endx = SSC_BIT(SR_ENDTX),
75 .ssc_endbuf = SSC_BIT(SR_TXBUFE), 75 .ssc_endbuf = SSC_BIT(SR_TXBUFE),
76 .ssc_error = SSC_BIT(SR_OVRUN),
76 .pdc_enable = ATMEL_PDC_TXTEN, 77 .pdc_enable = ATMEL_PDC_TXTEN,
77 .pdc_disable = ATMEL_PDC_TXTDIS, 78 .pdc_disable = ATMEL_PDC_TXTDIS,
78}; 79};
@@ -82,6 +83,7 @@ static struct atmel_ssc_mask ssc_rx_mask = {
82 .ssc_disable = SSC_BIT(CR_RXDIS), 83 .ssc_disable = SSC_BIT(CR_RXDIS),
83 .ssc_endx = SSC_BIT(SR_ENDRX), 84 .ssc_endx = SSC_BIT(SR_ENDRX),
84 .ssc_endbuf = SSC_BIT(SR_RXBUFF), 85 .ssc_endbuf = SSC_BIT(SR_RXBUFF),
86 .ssc_error = SSC_BIT(SR_OVRUN),
85 .pdc_enable = ATMEL_PDC_RXTEN, 87 .pdc_enable = ATMEL_PDC_RXTEN,
86 .pdc_disable = ATMEL_PDC_RXTDIS, 88 .pdc_disable = ATMEL_PDC_RXTDIS,
87}; 89};