[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>
This commit is contained in:
Mauro Carvalho Chehab 2011-02-15 10:31:01 -02:00
parent 0eec66c0df
commit 550df5a450

View File

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