mirror of
https://github.com/torvalds/linux.git
synced 2024-11-08 13:11:45 +00:00
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>
This commit is contained in:
parent
01f00d55a7
commit
f1b0dd8b93
@ -73,6 +73,7 @@ static struct atmel_ssc_mask ssc_tx_mask = {
|
||||
.ssc_disable = SSC_BIT(CR_TXDIS),
|
||||
.ssc_endx = SSC_BIT(SR_ENDTX),
|
||||
.ssc_endbuf = SSC_BIT(SR_TXBUFE),
|
||||
.ssc_error = SSC_BIT(SR_OVRUN),
|
||||
.pdc_enable = ATMEL_PDC_TXTEN,
|
||||
.pdc_disable = ATMEL_PDC_TXTDIS,
|
||||
};
|
||||
@ -82,6 +83,7 @@ static struct atmel_ssc_mask ssc_rx_mask = {
|
||||
.ssc_disable = SSC_BIT(CR_RXDIS),
|
||||
.ssc_endx = SSC_BIT(SR_ENDRX),
|
||||
.ssc_endbuf = SSC_BIT(SR_RXBUFF),
|
||||
.ssc_error = SSC_BIT(SR_OVRUN),
|
||||
.pdc_enable = ATMEL_PDC_RXTEN,
|
||||
.pdc_disable = ATMEL_PDC_RXTDIS,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user