commit | 2347e6836ad2a5a2f7e62bd12b8f52fe15f04f74 | [log] [tgz] |
---|---|---|
author | Antti Palosaari <crope@iki.fi> | Fri Sep 21 19:44:51 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Sep 27 15:14:20 2012 -0300 |
tree | 2f18184689507c53a7de7870083bf923a2d61281 | |
parent | d6f35c7128201b78fe2cb2c1eca3a5c67929566c [diff] |
[media] cypress_firmware: refactor firmware downloading Refactor firmware download function. It also should fix one bug coming from usb_control_msg() message buffers. Taking buffers from the stack for usb_control_msg() is not allowed as it does not work on all architectures. Allocate buffers using kmalloc(). Signed-off-by: Antti Palosaari <crope@iki.fi> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>