Fix remaining yellow from e532714d1f
Change-Id: If0bdd1fb3c8ee3324562638bc4c4181357a8fd53
This commit is contained in:
parent
148fac6f34
commit
05d4d6a4f2
1 changed files with 0 additions and 19 deletions
|
@ -172,22 +172,3 @@ void pcm_play_unlock(void)
|
|||
|
||||
restore_irq(flags);
|
||||
}
|
||||
|
||||
static int get_dma_count(void)
|
||||
{
|
||||
int count = REG_DMAC_DTCR(DMA_AIC_TX_CHANNEL);
|
||||
switch(REG_DMAC_DCMD(DMA_AIC_TX_CHANNEL) & DMAC_DCMD_DS_MASK)
|
||||
{
|
||||
case DMAC_DCMD_DS_16BIT:
|
||||
count *= 2;
|
||||
break;
|
||||
case DMAC_DCMD_DS_32BIT:
|
||||
count *= 4;
|
||||
break;
|
||||
case DMAC_DCMD_DS_16BYTE:
|
||||
count *= 16;
|
||||
break;
|
||||
}
|
||||
|
||||
return count;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue