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

Commit fc00a1d9 authored by Andy Walls's avatar Andy Walls Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB: cx25840: Fix typo in volume control initialization: 65335 vs. 65535



The wrong value for the volume control limit, 65335 vs. 65535,
prevents proper cx25840 v4l2_subdevice initialization.

Reported-by: default avatarIgor M. liplianin <liplianin@me.by>
Signed-off-by: default avatarAndy Walls <awalls@md.metrocast.net>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 71088bad
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1996,7 +1996,7 @@ static int cx25840_probe(struct i2c_client *client,

		state->volume = v4l2_ctrl_new_std(&state->hdl,
			&cx25840_audio_ctrl_ops, V4L2_CID_AUDIO_VOLUME,
			0, 65335, 65535 / 100, default_volume);
			0, 65535, 65535 / 100, default_volume);
		state->mute = v4l2_ctrl_new_std(&state->hdl,
			&cx25840_audio_ctrl_ops, V4L2_CID_AUDIO_MUTE,
			0, 1, 1, 0);