diff options
author | Devin Heitmueller <dheitmueller@kernellabs.com> | 2012-08-07 05:47:01 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-08-10 03:36:43 +0400 |
commit | fc7a74bad1ae1d68a1a9999634baeb4bae277a92 (patch) | |
tree | b5e48a23ebb88d45fc14eada881e1100bf89d518 /drivers/media/video/au0828 | |
parent | d6b8267800c59872bf2daf48c3399e83bee3a5ba (diff) | |
download | linux-fc7a74bad1ae1d68a1a9999634baeb4bae277a92.tar.xz |
[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/video/au0828')
0 files changed, 0 insertions, 0 deletions