[media] xc5000: fix xc5000 suspend
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Sat, 9 Aug 2014 19:22:25 +0000 (16:22 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 03:00:28 +0000 (12:00 +0900)
commit6e7b115e561e53d653807a2f497a0fcdbad0f954
treeb9608fec94bd811165ee7831c4034aef9a12be8b
parent02bdb8c8e94ee0724e4cf33ca6d12c6441c26612
[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