]> asedeno.scripts.mit.edu Git - linux.git/commit
media: ttusb-dec: Remove pci_zalloc_coherent() abuse
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Jan 2018 18:03:20 +0000 (19:03 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 18 Jan 2018 00:02:46 +0000 (18:02 -0600)
commit8d669f93b4b1405946af77a155c1df4fe1b526b1
tree5467827e62ee30d1dfa4425acf986ae946ecb164
parent894f3009d69c6f29f06443acbafb1c2f63271998
media: ttusb-dec: Remove pci_zalloc_coherent() abuse

Switch to a plain kzalloc() instead of pci_zalloc_coherent() to allocate
memory for the USB DMA.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/media/usb/ttusb-dec/ttusb_dec.c