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

Commit 1e6406b8 authored by Sven Barth's avatar Sven Barth Committed by Mauro Carvalho Chehab
Browse files

[media] cx25840: fix probing of cx2583x chips



Fix the probing of cx2583x chips, because two controls were clustered
that are not created for these chips.

This regression was introduced in 2.6.36.

Signed-off-by: default avatarSven Barth <pascaldragon@googlemail.com>
Signed-off-by: default avatarAndy Walls <awalls@md.metrocast.net>
Cc: stable@kernel.org
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 593110d1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2015,6 +2015,7 @@ static int cx25840_probe(struct i2c_client *client,
		kfree(state);
		return err;
	}
	if (!is_cx2583x(state))
		v4l2_ctrl_cluster(2, &state->volume);
	v4l2_ctrl_handler_setup(&state->hdl);