[media] r820t: Don't put it in standby if not initialized yet
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 11 Apr 2013 16:25:10 +0000 (13:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 17 Apr 2013 00:36:56 +0000 (21:36 -0300)
commit064fd169c508ce20e35babdd82946dab7219ccc5
treeb85fe838b2737922a31c3e760ae5b9d389b1fe95
parent4176e7ea8885a3cb3f5bbbf28480b421ef9b8f47
[media] r820t: Don't put it in standby if not initialized yet

r820t_standby() can be called before r820t_init().
If that happens, just do nothing.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Antti Palosaari <crope@iki.fi>
drivers/media/tuners/r820t.c