diff options
author | 2007-10-13 17:47:52 +0200 | |
---|---|---|
committer | 2007-10-13 17:47:52 +0200 | |
commit | dfb2311226539e0496c0a7c65ceebaaff2120a0b (patch) | |
tree | b4db3281be713728a8e35be9c492c6d24803bac8 /drivers/i2c/i2c-dev.c | |
parent | sgiioc4: add missing ->dma_base check (diff) | |
download | wireguard-linux-dfb2311226539e0496c0a7c65ceebaaff2120a0b.tar.xz wireguard-linux-dfb2311226539e0496c0a7c65ceebaaff2120a0b.zip |
cs5520: fix ->dma_base equal zero handling
Set hwif->ide_dma_{check,on} and hwif->autodma to 1 after checking that
->dma_base exists. If ->dma_base is not set (== PCI BAR4 cannot be reserved)
then DMA hooks shouldn't be initialized or bad things will happen.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/i2c/i2c-dev.c')
0 files changed, 0 insertions, 0 deletions