diff options
| -rw-r--r-- | sound/soc/samsung/idma.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/samsung/idma.c b/sound/soc/samsung/idma.c index db6cefa18017..0e8dd985fcb3 100644 --- a/sound/soc/samsung/idma.c +++ b/sound/soc/samsung/idma.c | |||
| @@ -351,7 +351,7 @@ static void idma_free(struct snd_pcm *pcm) | |||
| 351 | if (!buf->area) | 351 | if (!buf->area) |
| 352 | return; | 352 | return; |
| 353 | 353 | ||
| 354 | iounmap(buf->area); | 354 | iounmap((void __iomem *)buf->area); |
| 355 | 355 | ||
| 356 | buf->area = NULL; | 356 | buf->area = NULL; |
| 357 | buf->addr = 0; | 357 | buf->addr = 0; |
| @@ -369,7 +369,7 @@ static int preallocate_idma_buffer(struct snd_pcm *pcm, int stream) | |||
| 369 | buf->dev.type = SNDRV_DMA_TYPE_CONTINUOUS; | 369 | buf->dev.type = SNDRV_DMA_TYPE_CONTINUOUS; |
| 370 | buf->addr = idma.lp_tx_addr; | 370 | buf->addr = idma.lp_tx_addr; |
| 371 | buf->bytes = idma_hardware.buffer_bytes_max; | 371 | buf->bytes = idma_hardware.buffer_bytes_max; |
| 372 | buf->area = (unsigned char *)ioremap(buf->addr, buf->bytes); | 372 | buf->area = (unsigned char * __force)ioremap(buf->addr, buf->bytes); |
| 373 | 373 | ||
| 374 | return 0; | 374 | return 0; |
| 375 | } | 375 | } |
