]> git.karo-electronics.de Git - linux-beck.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)
commit1b97dc98b58dad98f13fa0a4cdc819b60f3f3bff
tree68e4f1d77a42384ccbf6b7e51951ff1ce065b249
parenta594cf21aa3c8e0e7510cbd316383fe6efb27f5c
[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