]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
[media] technisat-usb2: use DMA buffers for I2C transfers
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 7 Oct 2016 15:04:38 +0000 (12:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:47:35 +0000 (12:47 -0300)
commit88ca3619001380a3147246a22cb356f6065ad713
tree1b405c686d021f505b22f0675dd57f60e517fc87
parent5dfd2c8f263dfcaf614d24734f0af8c1c18a9ca8
[media] technisat-usb2: use DMA buffers for I2C transfers

The USB control messages require DMA to work. We cannot pass
a stack-allocated buffer, as it is not warranted that the
stack would be into a DMA enabled area.

On this driver, most of the transfers are OK, but the I2C
one was using stack.

Reviewed-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/technisat-usb2.c