ide: fix enabling DMA on it821x in "smart" mode
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 7 Mar 2008 20:53:49 +0000 (21:53 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 7 Mar 2008 20:53:49 +0000 (21:53 +0100)
commitef4298d0f06c788d204caa9e395de6e9e2fd9fc9
tree301f517612e2afefe13d9ca8129d1f98c7d24a1a
parentb348487f0dc06f09a4c0d9e353eaa66e70230c7d
ide: fix enabling DMA on it821x in "smart" mode

ide_tune_dma() should return '1' if IDE_HFLAG_NO_SET_MODE host flag is set.

Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-dma.c