]> git.baikalelectronics.ru Git - kernel.git/commit
media: ttusb-budget: Remove pci_zalloc_coherent() abuse
authorChristoph Hellwig <hch@lst.de>
Wed, 10 Jan 2018 18:03:19 +0000 (19:03 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 18 Jan 2018 00:01:35 +0000 (18:01 -0600)
commit345bdf55017d0330b76de01aee8f3431b8b89cd8
treeff3c5d90f5cbf0311c73dd759d0cee0cea9d2a12
parent6d26e52fc39dd1b277640428ccc4ab1abd836cd8
media: ttusb-budget: 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-budget/dvb-ttusb-budget.c