Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 00e158d5 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (4281): TDA9887_SET_CONFIG should only be handled by the tda9887.

parent c5e768a1
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -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:
	{
		if (t->type == TUNER_TDA9887) {
			int *i = arg;

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