aboutsummaryrefslogtreecommitdiff
path: root/drivers/pnp/system.c
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2007-10-16 23:31:07 -0700
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 08:43:04 -0700
commit7ef36390fabe2168fe31f245e49eb4e5f3762622 (patch)
tree7af187e0de1b0d11ee39610eeb23d204c76b1e02 /drivers/pnp/system.c
parent36e02b62084efa72f1f04c95e13295a456f394c2 (diff)
PNP: don't fail device init if no DMA channel available
Most drivers for devices supporting ISA DMA can operate without DMA as well (falling back zo PIO). Thus it seems inappropriate for PNP to fail device initialization in case none of the possible DMA channels are available. Instead, it should be left to the driver to decide what to do if request_dma() fails. The patch at once adjusts the code to account for the fact that pnp_assign_dma() now doesn't need to report failure anymore. Signed-off-by: Jan Beulich <jbeulich@novell.com> Cc: Adam Belay <ambx1@neo.rr.com> Cc: Bjorn Helgaas <bjorn.helgaas@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/pnp/system.c')
0 files changed, 0 insertions, 0 deletions