[media] af9013: reimplement firmware download
authorAntti Palosaari <crope@iki.fi>
Sat, 19 Mar 2011 21:02:22 +0000 (18:02 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Mar 2011 07:55:02 +0000 (04:55 -0300)
commit6ed9d56086acb3bb4ec003ff6d2f54313774d72b
tree089a5a0be0bd20851be15504932ed58c0a51e8c6
parent109a29900a36b2b1e7b7f83a561c6af7e343461f
[media] af9013: 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/frontends/af9013.c