]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[media] tuner-core: Don't touch at standby during tuner_lookup
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 15 Feb 2011 12:31:01 +0000 (10:31 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 21 Mar 2011 23:32:03 +0000 (20:32 -0300)
It makes no sense that tuner_lookup would touch at the standby
state. Remove it.

Thanks-to: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/tuner-core.c

index a91a29978f9c2abb6dd34115150d495d17c960ac..9363ed91a4cbda40a91ce2e1bf3958e9da097283 100644 (file)
@@ -538,7 +538,6 @@ static void tuner_lookup(struct i2c_adapter *adap,
                        continue;
 
                mode_mask = pos->mode_mask;
-               pos->standby = 1;
                if (*radio == NULL && mode_mask == T_RADIO)
                        *radio = pos;
                /* Note: currently TDA9887 is the only demod-only