[media] tuner-xc2028: Don't try to sleep twice
authorMauro Carvalho Chehab <m.chehab@samsung.com>
Mon, 6 Jan 2014 09:39:51 +0000 (06:39 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Fri, 10 Jan 2014 08:04:48 +0000 (06:04 -0200)
commitebf044f46f138b2c034c544b6cb79e563f1f21fa
treeba21bbb800e48a04454a636cf6375998517478c0
parentf5f894d19e2d40f1fb98a4799d85ed0904272cd6
[media] tuner-xc2028: Don't try to sleep twice

Only send a power down command for the device if it is not already
in power down state. That prevents a timeout when trying to talk
with the device.

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