cx23885: use pci_set_dma_mask insted of pci_dma_supported
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Nov 2015 22:45:33 +0000 (14:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Nov 2015 00:32:11 +0000 (16:32 -0800)
commit4571e4a2fc6c984d2e13517aa5a6ede240a1f733
tree2bfe3d9b55d840f54279b094b6303fba31d2dd2c
parent251c5912d995a146522d30a642767f5fb0f1440b
cx23885: use pci_set_dma_mask insted of pci_dma_supported

This ensures the dma mask that is supported by the driver is recorded
in the device structure.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/media/pci/cx23885/cx23885-core.c