projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45fa9c0
)
saa7134: use pci_set_dma_mask insted of pci_dma_supported
author
Christoph Hellwig
<
[email protected]
>
Tue, 10 Nov 2015 22:45:25 +0000
(14:45 -0800)
committer
Linus Torvalds
<
[email protected]
>
Wed, 11 Nov 2015 00:32:11 +0000
(16:32 -0800)
This ensures the dma mask that is supported by the driver is recorded
in the device structure.
Signed-off-by: Christoph Hellwig <
[email protected]
>
Cc: Mauro Carvalho Chehab <
[email protected]
>
Cc: Pawel Osciak <
[email protected]
>
Cc: Hans Verkuil <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/media/pci/saa7134/saa7134-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/pci/saa7134/saa7134-core.c
b/drivers/media/pci/saa7134/saa7134-core.c
index 87f39f97a79f21ab8dc016754cc8a19d0d2677de..e79d63eb774e338898584ee33fa8476b0cb5b2cf 100644
(file)
--- a/
drivers/media/pci/saa7134/saa7134-core.c
+++ b/
drivers/media/pci/saa7134/saa7134-core.c
@@
-951,7
+951,7
@@
static int saa7134_initdev(struct pci_dev *pci_dev,
pci_name(pci_dev), dev->pci_rev, pci_dev->irq,
dev->pci_lat,(unsigned long long)pci_resource_start(pci_dev,0));
pci_set_master(pci_dev);
- if (!pci_
dma_supported
(pci_dev, DMA_BIT_MASK(32))) {
+ if (!pci_
set_dma_mask
(pci_dev, DMA_BIT_MASK(32))) {
pr_warn("%s: Oops: no 32bit PCI DMA ???\n", dev->name);
err = -EIO;
goto fail1;