]> git.baikalelectronics.ru Git - kernel.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)
commite0498d7321712a327ff62f220396def6e9699721
tree5467827e62ee30d1dfa4425acf986ae946ecb164
parent345bdf55017d0330b76de01aee8f3431b8b89cd8
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