Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96971
b: refs/heads/master
c: 5ce998c
h: refs/heads/master
i:
  96969: de1eaf5
  96967: 9203b16
v: v3
  • Loading branch information
Michael Hennerich authored and Bryan Wu committed May 17, 2008
1 parent a219c7f commit 1ac6fe9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9cd9c616f5890c9345546e03c99ba392b7a82cdf
refs/heads/master: 5ce998cf6d1dbb28f14dea879a366ed5348f9681
11 changes: 11 additions & 0 deletions trunk/arch/blackfin/kernel/bfin_dma_5xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,17 @@ int request_dma(unsigned int channel, char *device_id)
{

pr_debug("request_dma() : BEGIN \n");

#if defined(CONFIG_BF561) && ANOMALY_05000182
if (channel >= CH_IMEM_STREAM0_DEST && channel <= CH_IMEM_STREAM1_DEST) {
if (get_cclk() > 500000000) {
printk(KERN_WARNING
"Request IMDMA failed due to ANOMALY 05000182\n");
return -EFAULT;
}
}
#endif

mutex_lock(&(dma_ch[channel].dmalock));

if ((dma_ch[channel].chan_status == DMA_CHANNEL_REQUESTED)
Expand Down

0 comments on commit 1ac6fe9

Please sign in to comment.