aboutsummaryrefslogtreecommitdiffstats
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
parent[media] au8522: fix regression in logging introduced by separation of modules (diff)
downloadlinux-dev-fc7a74bad1ae1d68a1a9999634baeb4bae277a92.tar.xz
linux-dev-fc7a74bad1ae1d68a1a9999634baeb4bae277a92.zip
[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