diff options
Diffstat (limited to 'drivers/media/video/cs5345.c')
-rw-r--r-- | drivers/media/video/cs5345.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cs5345.c b/drivers/media/video/cs5345.c index 1c3fa3a7470a..a662b15d5b90 100644 --- a/drivers/media/video/cs5345.c +++ b/drivers/media/video/cs5345.c | |||
@@ -35,7 +35,7 @@ static int debug; | |||
35 | 35 | ||
36 | module_param(debug, bool, 0644); | 36 | module_param(debug, bool, 0644); |
37 | 37 | ||
38 | MODULE_PARM_DESC(debug, "Debugging messages\n\t\t\t0=Off (default), 1=On"); | 38 | MODULE_PARM_DESC(debug, "Debugging messages, 0=Off (default), 1=On"); |
39 | 39 | ||
40 | 40 | ||
41 | /* ----------------------------------------------------------------------- */ | 41 | /* ----------------------------------------------------------------------- */ |
@@ -111,7 +111,7 @@ static int cs5345_command(struct i2c_client *client, unsigned cmd, void *arg) | |||
111 | if (cmd == VIDIOC_DBG_G_REGISTER) | 111 | if (cmd == VIDIOC_DBG_G_REGISTER) |
112 | reg->val = cs5345_read(client, reg->reg & 0x1f); | 112 | reg->val = cs5345_read(client, reg->reg & 0x1f); |
113 | else | 113 | else |
114 | cs5345_write(client, reg->reg & 0x1f, reg->val & 0x1f); | 114 | cs5345_write(client, reg->reg & 0x1f, reg->val & 0xff); |
115 | break; | 115 | break; |
116 | } | 116 | } |
117 | #endif | 117 | #endif |