mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-01 14:26:46 +07:00
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: Igor M. liplianin <liplianin@me.by> Signed-off-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
71088bad74
commit
fc00a1d90d
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user