diff options
Diffstat (limited to 'firmware/target/arm/s5l8702/pcm-s5l8702.c')
-rw-r--r-- | firmware/target/arm/s5l8702/pcm-s5l8702.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8702/pcm-s5l8702.c b/firmware/target/arm/s5l8702/pcm-s5l8702.c index b0a3a02571..9fc241b9a1 100644 --- a/firmware/target/arm/s5l8702/pcm-s5l8702.c +++ b/firmware/target/arm/s5l8702/pcm-s5l8702.c @@ -156,7 +156,7 @@ void pcm_dma_apply_settings(void) size_t pcm_get_bytes_waiting(void)
{
int bytes = remaining;
- const struct dma_lli* lli = &DMAC0C0LLI;
+ const struct dma_lli* lli = (const struct dma_lli*)((int)&DMAC0C0LLI);
while (lli)
{
bytes += (lli->control & 0xfff) * 2;
|