[media] xc5000: delay tuner sleep to 5 seconds
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Wed, 21 May 2014 16:57:30 +0000 (13:57 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 25 May 2014 20:50:16 +0000 (17:50 -0300)
commitf7a27ff1fb77e114d1059a5eb2ed1cffdc508ce8
tree07e3ab839ced4dbee349f50869050c9aa3bd4634
parent5015c27b60de2b41ddcf8f1b88da2a3025b87cd4
[media] xc5000: delay tuner sleep to 5 seconds

Some drivers, like au0828 are very sensitive to tuner sleep and may
break if the sleep happens too fast. Also, by keeping the tuner alive
for a while could speedup tuning process during channel scan. So,
change the logic to delay the actual sleep to 5 seconds after its
command.

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