git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b0d2d
)
pdc202xx_new: add missing ->dma_base check
author
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Mon, 20 Aug 2007 20:42:56 +0000
(22:42 +0200)
committer
Bartlomiej Zolnierkiewicz
<bzolnier@gmail.com>
Mon, 20 Aug 2007 20:42:56 +0000
(22:42 +0200)
If ->dma_base is not set (== PCI BAR4 cannot be reserved) then DMA hooks
shouldn't be initialized or bad things will happen.
Also this host driver requires valid PCI BAR4 for normal operation so
check it in ->init_chipset and fail initialization if not set.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
No differences found