aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
diff options
context:
space:
mode:
authorStefan Brüns <[email protected]>2017-02-05 14:57:59 +0000
committerMauro Carvalho Chehab <[email protected]>2017-02-08 13:52:40 +0000
commit3f190e3aec212fc8c61e202c51400afa7384d4bc (patch)
tree56edab612463b64d0cb0428820c1074e6e0ce3d8 /drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c
parent[media] ttpci: address stringop overflow warning (diff)
downloadkernel-3f190e3aec212fc8c61e202c51400afa7384d4bc.tar.gz
kernel-3f190e3aec212fc8c61e202c51400afa7384d4bc.zip
[media] cxusb: Use a dma capable buffer also for reading
Commit 17ce039b4e54 ("[media] cxusb: don't do DMA on stack") added a kmalloc'ed bounce buffer for writes, but missed to do the same for reads. As the read only happens after the write is finished, we can reuse the same buffer. As dvb_usb_generic_rw handles a read length of 0 by itself, avoid calling it using the dvb_usb_generic_read wrapper function. Signed-off-by: Stefan Brüns <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c')
0 files changed, 0 insertions, 0 deletions