[media] si2168: enhance firmware download routine
commit68c16a76c64e2cd9c0dd4bda6400a3f28e82488e
authorAntti Palosaari <crope@iki.fi>
Fri, 5 Dec 2014 20:08:22 +0000 (5 17:08 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 29 Jan 2015 20:44:00 +0000 (29 18:44 -0200)
treebae0d38e3074406fa8665a751e3cd76d08938c67
parent1ee5e7dd5eced2ec13d3810c55b4ecd73cb5c92f
[media] si2168: enhance firmware download routine

All known old firmware firmware formats are downloaded using 8 byte
chunks. Reject firmware if it could not be divided to 8 byte chunks
and because of that we could simplify some calculations. Now both
supported firmware download routines are rather similar.

Cc: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/si2168.c