diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2009-06-07 11:52:50 (GMT) |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-06-07 11:52:50 (GMT) |
commit | 669165daad2ec839df85b8c5f7bc155e76a2f404 (patch) | |
tree | 8f30dad6d22568f42bf187264f267b80ac88b1e4 /scripts/Lindent | |
parent | 521a415c9f6d4e5463807ce6d36598acabcd204f (diff) | |
download | linux-669165daad2ec839df85b8c5f7bc155e76a2f404.tar.xz |
pdc202xx_old: fix resetproc() method
pdc202xx_reset() calls pdc202xx_reset_host() twice, for both channels, while
that function actually twiddles the single, shared software reset bit -- the
net effect is a duplicated reset and horrendous 4 second delay happening not
only on a channel reset but also when dma_lost_irq() and dma_clear() methods
are called. Fold pdc202xx_reset_host() into pdc202xx_reset(), fix printk(),
and move it before the actual reset...
Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'scripts/Lindent')
0 files changed, 0 insertions, 0 deletions