[media] xc5000: fix xc5000 suspend 12/25812/1
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 9 Aug 2014 19:22:25 +0000 (16:22 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Sun, 10 Aug 2014 02:32:55 +0000 (23:32 -0300)
commitcd8e2be14e5f128dc91f8b328b2f5de9d102c309
tree5fe3bcc2552713131fdfd5c6237c2e31265cd9c8
parentc55e8deb4072f1ab4b4935c49da4c9ce32eb7d56
[media] xc5000: fix xc5000 suspend

After xc5000 stops working, it waits for 5 seconds, waiting
for a new usage. Only after that it goes to low power mode.

If a suspend event happens before that, a work queue will
remain active, with causes suspend to crash.

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