[media] si2157: rework firmware download logic a little bit
authorAntti Palosaari <crope@iki.fi>
Sun, 13 Jul 2014 23:05:28 +0000 (20:05 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 15 Jul 2014 00:07:09 +0000 (21:07 -0300)
commit7d6bc608e062f6b6667c9eeeb17055f017ecadb1
tree1fb6373504363e95e0fa90da3449fe20e2f2a454
parentb6b6fd6feb5f71267ef535f15061a397f86ebb26
[media] si2157: rework firmware download logic a little bit

Rework firmware selection / chip detection logic a little bit.
Add missing release_firmware() to error path.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Tested-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/si2157.c