summaryrefslogtreecommitdiffstats
path: root/Documentation/admin-guide
diff options
context:
space:
mode:
authorStefan Brüns <stefan.bruens@rwth-aachen.de>2017-02-05 12:57:59 -0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-02-08 11:52:40 -0200
commit3f190e3aec212fc8c61e202c51400afa7384d4bc (patch)
tree56edab612463b64d0cb0428820c1074e6e0ce3d8 /Documentation/admin-guide
parent69d3973af1acd4c0989ec8218c05f12d303cd7cf (diff)
downloadblackbird-op-linux-3f190e3aec212fc8c61e202c51400afa7384d4bc.tar.gz
blackbird-op-linux-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 <stefan.bruens@rwth-aachen.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/admin-guide')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud