Skip to content

Commit

Permalink
V4L/DVB (4281): TDA9887_SET_CONFIG should only be handled by the tda9…
Browse files Browse the repository at this point in the history
…887.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Jun 30, 2006
1 parent c5e768a commit 00e158d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions drivers/media/video/tuner-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -608,13 +608,13 @@ static int tuner_command(struct i2c_client *client, unsigned int cmd, void *arg)
tuner_dbg("VIDIOCSAUDIO not implemented.\n");
break;
case TDA9887_SET_CONFIG:
{
int *i = arg;
if (t->type == TUNER_TDA9887) {
int *i = arg;

t->tda9887_config = *i;
set_freq(client, t->tv_freq);
t->tda9887_config = *i;
set_freq(client, t->tv_freq);
}
break;
}
/* --- v4l ioctls --- */
/* take care: bttv does userspace copying, we'll get a
kernel pointer here... */
Expand Down

0 comments on commit 00e158d

Please sign in to comment.