[media] xc5000: be sure that the firmware is there before set params
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 10 Aug 2014 02:14:22 +0000 (23:14 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 21 Aug 2014 20:25:11 +0000 (15:25 -0500)
commit5275a3b6b01664317b1a0bdc95ad981dbbb62283
tree84b8463cf336074556d7c1a93816219d8a9daf69
parent2930977ac5934540d876715fdf32b1dd6f405df5
[media] xc5000: be sure that the firmware is there before set params

Now that xc5000_set_params() is also called during resume,
move the code that checks for the firmware to happen there.

This way, the firmware will be loaded either for analog or
digital TV when .resume callback is called.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/tuners/xc5000.c