Skip to content

Commit

Permalink
[media] cx25840: fix probing of cx2583x chips
Browse files Browse the repository at this point in the history
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: Sven Barth <pascaldragon@googlemail.com>
Signed-off-by: Andy Walls <awalls@md.metrocast.net>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Sven Barth authored and Mauro Carvalho Chehab committed Mar 2, 2011
1 parent 593110d commit 1e6406b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion drivers/media/video/cx25840/cx25840-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -2015,7 +2015,8 @@ static int cx25840_probe(struct i2c_client *client,
kfree(state);
return err;
}
v4l2_ctrl_cluster(2, &state->volume);
if (!is_cx2583x(state))
v4l2_ctrl_cluster(2, &state->volume);
v4l2_ctrl_handler_setup(&state->hdl);

if (client->dev.platform_data) {
Expand Down

0 comments on commit 1e6406b

Please sign in to comment.