]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit9b5e4a651f3868aae389b9cc0705fd37f2b0be8c
tree089a5a0be0bd20851be15504932ed58c0a51e8c6
parentb8faa3f058de4461cf49addfe39e7a2eebfa5ab7
[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