]> git.karo-electronics.de Git - linux-beck.git/commit
[media] af9015: reimplement firmware download
authorAntti Palosaari <crope@iki.fi>
Sat, 19 Mar 2011 19:51:43 +0000 (16:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:54:58 +0000 (04:54 -0300)
commit582e565caeaccf145e2256b84d4fde827fede72e
tree73e9ae6fcb6d40e15860b6352fa1f2f4dd4c8965
parent04599c2b1ff1eece19b7abaacd97266b8a6b79f2
[media] af9015: reimplement firmware download

Split FW download packages smarter way and bug free. Implementation is
based of Andrea Merello's example he provided for tda18218 driver.
Count remaining FW bytes down in loop instead of division and modulo
combination used earlier.

Thanks-to: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Cc: Andrea Merello <andrea.merello@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/af9015.c