From: Bo Shen <voice.shen@atmel.com>
To: Mark Brown <broonie@kernel.org>
Cc: alsa-devel@alsa-project.org, lars@metafoo.de,
richard.genoud@gmail.com, Nicolas Ferre <nicolas.ferre@atmel.com>,
linux-sound@vger.kernel.org, Bo Shen <voice.shen@atmel.com>,
linux-arm-kernel@lists.infradead.org
Subject: [v2 2/5] ASoC: atmel_ssc_dai: add error mask define
Date: Wed, 03 Jul 2013 08:37:57 +0000 [thread overview]
Message-ID: <1372840680-2253-3-git-send-email-voice.shen@atmel.com> (raw)
In-Reply-To: <1372840680-2253-1-git-send-email-voice.shen@atmel.com>
add error mask define, which will be used when execute DMA transfer
Signed-off-by: Bo Shen <voice.shen@atmel.com>
---
Change in v2:
- new patch
---
sound/soc/atmel/atmel_ssc_dai.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sound/soc/atmel/atmel_ssc_dai.c b/sound/soc/atmel/atmel_ssc_dai.c
index 6cf9cf1..1ab4763 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 = {
.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,
};
--
1.7.9.5
next prev parent reply other threads:[~2013-07-03 8:37 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-03 8:37 [v2 0/5] ASoC: atmel-pcm: align with generic dmaengine framwork Bo Shen
2013-07-03 8:37 ` [v2 1/5] ASoC: atmel_ssc_dai: move set dma data to startup callback Bo Shen
2013-07-03 8:37 ` Bo Shen [this message]
2013-07-03 8:37 ` [v2 3/5] ASoC: atmel-pcm-dma: move prepare for dma to dai prepare Bo Shen
2013-07-03 8:37 ` [v2 4/5] ARM: atmel-ssc: change phybase type to dma_addr_t Bo Shen
2013-07-03 8:38 ` [v2 5/5] ASoC: atmel-pcm: use generic dmaengine framework Bo Shen
2013-07-03 9:01 ` [v2 0/5] ASoC: atmel-pcm: align with generic dmaengine framwork Lars-Peter Clausen
2013-07-03 9:52 ` Mark Brown
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1372840680-2253-3-git-send-email-voice.shen@atmel.com \
--to=voice.shen@atmel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lars@metafoo.de \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-sound@vger.kernel.org \
--cc=nicolas.ferre@atmel.com \
--cc=richard.genoud@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox