diff options
author | Jean-François Moine <moinejf@free.fr> | 2010-10-29 18:58:22 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 11:16:33 +0100 |
commit | 1d00d6c1ff13607974fcd9469aa9466fcd253c3a (patch) | |
tree | e6d9f896b94b2acd81173a018c8b4407d1f8efcd /drivers/media/video/gspca/m5602 | |
parent | [media] gspca - sonixj: Simplify and clarify the hv7131r probe function (diff) | |
download | linux-1d00d6c1ff13607974fcd9469aa9466fcd253c3a.tar.xz linux-1d00d6c1ff13607974fcd9469aa9466fcd253c3a.zip |
[media] gspca: Convert some uppercase hexadecimal values to lowercase
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/m5602')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov9650.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov9650.c b/drivers/media/video/gspca/m5602/m5602_ov9650.c index 8ded8b100576..703d48670a24 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov9650.c +++ b/drivers/media/video/gspca/m5602/m5602_ov9650.c @@ -624,7 +624,7 @@ static int ov9650_set_gain(struct gspca_dev *gspca_dev, __s32 val) /* Mask away all uninteresting bits */ i2c_data = ((val & 0x0300) >> 2) | - (i2c_data & 0x3F); + (i2c_data & 0x3f); err = m5602_write_sensor(sd, OV9650_VREF, &i2c_data, 1); if (err < 0) return err; |