]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
fsldma: fix off by one in dma_halt
authorDan Williams <dan.j.williams@intel.com>
Mon, 2 Mar 2009 22:33:46 +0000 (15:33 -0700)
committerDan Williams <dan.j.williams@intel.com>
Wed, 4 Mar 2009 23:04:40 +0000 (16:04 -0700)
commit900325a6ce33995688b7a680a34e7698f16f4d72
tree8684bc969f3c355307bec56a0c55ad50a1094c0e
parent0c33e1ca3d80647f2e72e44524fd21e79214da20
fsldma: fix off by one in dma_halt

Prevent dev_err from firing even if we successfully detected 'dma-idle'
before the full 1ms timeout has elapsed.

Acked-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/fsldma.c