summaryrefslogtreecommitdiff
path: root/sound/soc/atmel/atmel-pcm-pdc.c
diff options
context:
space:
mode:
authorJoachim Eastwood <manabian@gmail.com>2012-12-08 17:23:22 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-12-24 19:48:25 +0400
commit153f5a18e4a88d8a3c2d1a19658a3ce34559b473 (patch)
tree94f371556f5e0410cead3b32304f1c65579bd82f /sound/soc/atmel/atmel-pcm-pdc.c
parentf4319ff2bd23a5183f25ec0b3f5f753060ae2e4d (diff)
downloadlinux-153f5a18e4a88d8a3c2d1a19658a3ce34559b473.tar.xz
ASoC: atmel-soc: make it buildable on other architectures
Not very useful on non AT91/AVR32 platforms but it provides more build coverage and prepares for ARM multiplatform. Also fixes a couple of format type warnings. Signed-off-by: Joachim Eastwood <manabian@gmail.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/atmel/atmel-pcm-pdc.c')
-rw-r--r--sound/soc/atmel/atmel-pcm-pdc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/atmel/atmel-pcm-pdc.c b/sound/soc/atmel/atmel-pcm-pdc.c
index 6a293c713a38..054ea4d9326a 100644
--- a/sound/soc/atmel/atmel-pcm-pdc.c
+++ b/sound/soc/atmel/atmel-pcm-pdc.c
@@ -159,7 +159,7 @@ static int atmel_pcm_hw_params(struct snd_pcm_substream *substream,
pr_debug("atmel-pcm: "
"hw_params: DMA for %s initialized "
- "(dma_bytes=%u, period_size=%u)\n",
+ "(dma_bytes=%zu, period_size=%zu)\n",
prtd->params->name,
runtime->dma_bytes,
prtd->period_size);
@@ -201,7 +201,7 @@ static int atmel_pcm_trigger(struct snd_pcm_substream *substream,
int ret = 0;
pr_debug("atmel-pcm:buffer_size = %ld,"
- "dma_area = %p, dma_bytes = %u\n",
+ "dma_area = %p, dma_bytes = %zu\n",
rtd->buffer_size, rtd->dma_area, rtd->dma_bytes);
switch (cmd) {