summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb
diff options
context:
space:
mode:
authorDevin Heitmueller <dheitmueller@kernellabs.com>2012-08-06 22:47:01 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-08-09 20:36:43 -0300
commitfc7a74bad1ae1d68a1a9999634baeb4bae277a92 (patch)
treeb5e48a23ebb88d45fc14eada881e1100bf89d518 /drivers/media/dvb
parentd6b8267800c59872bf2daf48c3399e83bee3a5ba (diff)
[media] xc5000: don't invoke auto calibration unless we really did reset tuner
The current code invokes the auto calibration of the tuner whenever the init routine is called (whenever the DVB frontend opens the device). However we should really only be invoking the calibration if we actually did reset the device and reload the firmware. Rework the routine to only do calibration if reset and firmware load was performed. Also because the called function is now a no-op if the firmware is already loaded, the caller no longer needs to invoke is_firmware_loaded(). Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
0 files changed, 0 insertions, 0 deletions