diff options
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s')
-rw-r--r-- | firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c index 6cec3ecdd3..c0651caf51 100644 --- a/firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c +++ b/firmware/target/arm/imx31/gigabeat-s/pcm-gigabeat-s.c | |||
@@ -32,8 +32,8 @@ | |||
32 | #define DMA_PLAY_CH_PRIORITY 6 | 32 | #define DMA_PLAY_CH_PRIORITY 6 |
33 | #define DMA_REC_CH_PRIORITY 6 | 33 | #define DMA_REC_CH_PRIORITY 6 |
34 | 34 | ||
35 | static struct buffer_descriptor dma_play_bd DEVBSS_ATTR; | 35 | static struct buffer_descriptor dma_play_bd NOCACHEBSS_ATTR; |
36 | static struct channel_descriptor dma_play_cd DEVBSS_ATTR; | 36 | static struct channel_descriptor dma_play_cd NOCACHEBSS_ATTR; |
37 | 37 | ||
38 | struct dma_data | 38 | struct dma_data |
39 | { | 39 | { |
@@ -315,7 +315,7 @@ void pcm_play_dma_pause(bool pause) | |||
315 | /* Return the number of bytes waiting - full L-R sample pairs only */ | 315 | /* Return the number of bytes waiting - full L-R sample pairs only */ |
316 | size_t pcm_get_bytes_waiting(void) | 316 | size_t pcm_get_bytes_waiting(void) |
317 | { | 317 | { |
318 | static unsigned long dsa DEVBSS_ATTR; | 318 | static unsigned long dsa NOCACHEBSS_ATTR; |
319 | long offs, size; | 319 | long offs, size; |
320 | int oldstatus; | 320 | int oldstatus; |
321 | 321 | ||
@@ -339,7 +339,7 @@ size_t pcm_get_bytes_waiting(void) | |||
339 | /* Return a pointer to the samples and the number of them in *count */ | 339 | /* Return a pointer to the samples and the number of them in *count */ |
340 | const void * pcm_play_dma_get_peak_buffer(int *count) | 340 | const void * pcm_play_dma_get_peak_buffer(int *count) |
341 | { | 341 | { |
342 | static unsigned long dsa DEVBSS_ATTR; | 342 | static unsigned long dsa NOCACHEBSS_ATTR; |
343 | unsigned long addr; | 343 | unsigned long addr; |
344 | long offs, size; | 344 | long offs, size; |
345 | int oldstatus; | 345 | int oldstatus; |
@@ -370,8 +370,8 @@ void * pcm_dma_addr(void *addr) | |||
370 | } | 370 | } |
371 | 371 | ||
372 | #ifdef HAVE_RECORDING | 372 | #ifdef HAVE_RECORDING |
373 | static struct buffer_descriptor dma_rec_bd DEVBSS_ATTR; | 373 | static struct buffer_descriptor dma_rec_bd NOCACHEBSS_ATTR; |
374 | static struct channel_descriptor dma_rec_cd DEVBSS_ATTR; | 374 | static struct channel_descriptor dma_rec_cd NOCACHEBSS_ATTR; |
375 | 375 | ||
376 | static struct dma_data dma_rec_data = | 376 | static struct dma_data dma_rec_data = |
377 | { | 377 | { |
@@ -526,7 +526,7 @@ void pcm_rec_dma_init(void) | |||
526 | 526 | ||
527 | const void * pcm_rec_dma_get_peak_buffer(int *count) | 527 | const void * pcm_rec_dma_get_peak_buffer(int *count) |
528 | { | 528 | { |
529 | static unsigned long pda DEVBSS_ATTR; | 529 | static unsigned long pda NOCACHEBSS_ATTR; |
530 | unsigned long buf, addr, end, bufend; | 530 | unsigned long buf, addr, end, bufend; |
531 | int oldstatus; | 531 | int oldstatus; |
532 | 532 | ||