aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/usbvideo/quickcam_messenger.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/usbvideo/quickcam_messenger.c')
-rw-r--r--drivers/media/video/usbvideo/quickcam_messenger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/usbvideo/quickcam_messenger.c b/drivers/media/video/usbvideo/quickcam_messenger.c
index 8ad9f6af89af..3f3182a24da1 100644
--- a/drivers/media/video/usbvideo/quickcam_messenger.c
+++ b/drivers/media/video/usbvideo/quickcam_messenger.c
@@ -343,7 +343,7 @@ static int qcm_sensor_set_gains(struct uvd *uvd, u16 hue,
343 u16 saturation, u16 value) 343 u16 saturation, u16 value)
344{ 344{
345 int ret; 345 int ret;
346 u16 r,g,b; 346 u16 r=0,g=0,b=0;
347 347
348 /* this code is based on qc-usb-messenger */ 348 /* this code is based on qc-usb-messenger */
349 qcm_hsv2rgb(hue, saturation, value, &r, &g, &b); 349 qcm_hsv2rgb(hue, saturation, value, &r, &g, &b);