mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
staging: vt6655: always set 32 bit dma mask
The device is limited to 32 bit address space. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
1cf0a47c8c
commit
d5806c53fe
@ -1747,6 +1747,12 @@ vt6655_probe(struct pci_dev *pcid, const struct pci_device_id *ent)
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
if (dma_set_mask(&pcid->dev, DMA_BIT_MASK(32))) {
|
||||
dev_err(&pcid->dev, ": Failed to set dma 32 bit mask\n");
|
||||
device_free_info(priv);
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
INIT_WORK(&priv->interrupt_work, vnt_interrupt_work);
|
||||
|
||||
/* do reset */
|
||||
|
Loading…
Reference in New Issue
Block a user