[media] si470x: don't use buffer on the stack for USB transfers
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 13 Dec 2013 11:06:07 +0000 (08:06 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 18 Dec 2013 13:28:04 +0000 (11:28 -0200)
commit567e2e9660c71372e8bd50efa9d37a0281e4abe1
tree37310df56a90db585aab901fe3cd052b50fa7d00
parent0149a2e1498dba7937dd14bf924dedd6f0c15587
[media] si470x: don't use buffer on the stack for USB transfers

You shouldn't use buffers allocated on the stack for USB transfers,
always kmalloc them.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/radio/si470x/radio-si470x-usb.c
drivers/media/radio/si470x/radio-si470x.h