]> err.no Git - linux-2.6/commit
cs5535: add missing ->dma_base check
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 13 Oct 2007 15:47:52 +0000 (17:47 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 13 Oct 2007 15:47:52 +0000 (17:47 +0200)
commit7bda292d12795877ade9a7ccc044a7bb0ea8e8b4
tree1b098530b7a5c70fe3aff7e17283ddef2ba11304
parent76bb7782c6831bf450b964eb7596e21bcd23fc32
cs5535: add missing ->dma_base check

If ->dma_base is not set (== PCI BAR4 cannot be reserved) then DMA hooks
shouldn't be initialized or bad things will happen.

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