commit | ad7220479244e92d7eba2ecc4b3f3e08312fc68f | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Sun Mar 06 10:12:32 2016 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Thu Mar 10 13:37:45 2016 -0300 |
tree | dd25992644f04efdb8ef5ed2c6b80bc15a0ff8d8 | |
parent | eef8fc374c131647ea9eea3301f06f4eee7f51ae [diff] |
[media] touptek: don't DMA at the stack As warned by smatch: drivers/media/usb/gspca/touptek.c:220 reg_w() error: doing dma on the stack (buff) drivers/media/usb/gspca/touptek.c:458 configure() error: doing dma on the stack (buff) This can fail, as the stack may not be in a memory that would allod DMA. So, use the usb_buf instead. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>