aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-02-15 07:31:01 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-21 19:32:03 -0400
commit550df5a450928172e284cb0f857ae73e5e705305 (patch)
tree8e25381693c279782f236974f52eb3571b6d1e17
parent0eec66c0dfc1b066e6addbc6af755c779f65fd87 (diff)
[media] tuner-core: Don't touch at standby during tuner_lookup
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>
-rw-r--r--drivers/media/video/tuner-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c
index a91a29978f9c..9363ed91a4cb 100644
--- a/drivers/media/video/tuner-core.c
+++ b/drivers/media/video/tuner-core.c
@@ -538,7 +538,6 @@ static void tuner_lookup(struct i2c_adapter *adap,
538 continue; 538 continue;
539 539
540 mode_mask = pos->mode_mask; 540 mode_mask = pos->mode_mask;
541 pos->standby = 1;
542 if (*radio == NULL && mode_mask == T_RADIO) 541 if (*radio == NULL && mode_mask == T_RADIO)
543 *radio = pos; 542 *radio = pos;
544 /* Note: currently TDA9887 is the only demod-only 543 /* Note: currently TDA9887 is the only demod-only