From e8f226b66dc58399a8daf808ba204ec9562abd85 Mon Sep 17 00:00:00 2001 From: Miroslav Slugeň <thunder.m@xxxxxxxx> Date: Mon, 12 Dec 2011 00:16:22 +0100 Subject: [PATCH] Fix mode mask setting in tuner_core for radio only tuners. --- drivers/media/video/tuner-core.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/tuner-core.c b/drivers/media/video/tuner-core.c index 11cc980..8e7e769 100644 --- a/drivers/media/video/tuner-core.c +++ b/drivers/media/video/tuner-core.c @@ -317,13 +317,13 @@ static void set_type(struct i2c_client *c, unsigned int type, if (!dvb_attach(tea5767_attach, &t->fe, t->i2c->adapter, t->i2c->addr)) goto attach_failed; - t->mode_mask = T_RADIO; + new_mode_mask = T_RADIO; break; case TUNER_TEA5761: if (!dvb_attach(tea5761_attach, &t->fe, t->i2c->adapter, t->i2c->addr)) goto attach_failed; - t->mode_mask = T_RADIO; + new_mode_mask = T_RADIO; break; case TUNER_PHILIPS_FMD1216ME_MK3: buffer[0] = 0x0b; -- 1.7.2.3