V4L/DVB (4281): TDA9887_SET_CONFIG should only be handled by the tda9887.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
This commit is contained in:
parent
c5e768a1ec
commit
00e158d52a
|
@ -608,13 +608,13 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
|
||||||
tuner_dbg("VIDIOCSAUDIO not implemented.\n");
|
tuner_dbg("VIDIOCSAUDIO not implemented.\n");
|
||||||
break;
|
break;
|
||||||
case TDA9887_SET_CONFIG:
|
case TDA9887_SET_CONFIG:
|
||||||
{
|
if (t->type == TUNER_TDA9887) {
|
||||||
int *i = arg;
|
int *i = arg;
|
||||||
|
|
||||||
t->tda9887_config = *i;
|
t->tda9887_config = *i;
|
||||||
set_freq(client, t->tv_freq);
|
set_freq(client, t->tv_freq);
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
}
|
|
||||||
/* --- v4l ioctls --- */
|
/* --- v4l ioctls --- */
|
||||||
/* take care: bttv does userspace copying, we'll get a
|
/* take care: bttv does userspace copying, we'll get a
|
||||||
kernel pointer here... */
|
kernel pointer here... */
|
||||||
|
|
Loading…
Reference in New Issue