aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/parport/parport_pc.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/parport/parport_pc.c b/drivers/parport/parport_pc.c
index 7f1cca701c11..1032d5fdbd42 100644
--- a/drivers/parport/parport_pc.c
+++ b/drivers/parport/parport_pc.c
@@ -2290,6 +2290,9 @@ struct parport *parport_pc_probe_port(unsigned long int base,
2290 if (IS_ERR(pdev)) 2290 if (IS_ERR(pdev))
2291 return NULL; 2291 return NULL;
2292 dev = &pdev->dev; 2292 dev = &pdev->dev;
2293
2294 dev->coherent_dma_mask = DMA_BIT_MASK(24);
2295 dev->dma_mask = &dev->coherent_dma_mask;
2293 } 2296 }
2294 2297
2295 ops = kmalloc(sizeof(struct parport_operations), GFP_KERNEL); 2298 ops = kmalloc(sizeof(struct parport_operations), GFP_KERNEL);