]> git.baikalelectronics.ru Git - kernel.git/commit
[media] si2168: add support for firmware files in new format
authorOlli Salonen <olli.salonen@iki.fi>
Thu, 27 Nov 2014 19:42:23 +0000 (16:42 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 4 Dec 2014 16:00:01 +0000 (14:00 -0200)
commitd82efe3a7e2fbce4217669a334c6def4f59998ab
tree68e4f1d77a42384ccbf6b7e51951ff1ce065b249
parent1b9325d196e1ffa9d22d1150834fb4b84147161a
[media] si2168: add support for firmware files in new format

This patch adds support for new type of firmware versions of Si2168 chip.

Old type: n x 8 bytes (all data, first byte seems to be 04 or 05)
New type: n x 17 bytes (1 byte indicates len and max 16 bytes data)

New version of TechnoTrend CT2-4400 drivers
(http://www.tt-downloads.de/bda-treiber_4.3.0.0.zip) contains newer
firmware for Si2168-B40 that is in the new format. It can be extracted
with the following command:

dd if=ttTVStick4400_64.sys ibs=1 skip=323872 count=6919 of=dvb-demod-si2168-b40-01.fw

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