projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71088ba
)
V4L/DVB: cx25840: Fix typo in volume control initialization: 65335 vs. 65535
author
Andy Walls
<
[email protected]
>
Thu, 16 Sep 2010 23:54:47 +0000
(20:54 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Tue, 28 Sep 2010 01:22:10 +0000
(22:22 -0300)
The wrong value for the volume control limit, 65335 vs. 65535,
prevents proper cx25840 v4l2_subdevice initialization.
Reported-by: Igor M. liplianin <
[email protected]
>
Signed-off-by: Andy Walls <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/cx25840/cx25840-core.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/cx25840/cx25840-core.c
b/drivers/media/video/cx25840/cx25840-core.c
index 86ca8c2359dd8bb409cadd434dc951a17ff170a9..f5a3e74c3c7cc0e6e52ebec222b28604e7cf53ef 100644
(file)
--- a/
drivers/media/video/cx25840/cx25840-core.c
+++ b/
drivers/media/video/cx25840/cx25840-core.c
@@
-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, 65
3
35, 65535 / 100, default_volume);
+ 0, 65
5
35, 65535 / 100, default_volume);
state->mute = v4l2_ctrl_new_std(&state->hdl,
&cx25840_audio_ctrl_ops, V4L2_CID_AUDIO_MUTE,
0, 1, 1, 0);