summaryrefslogtreecommitdiff
path: root/drivers/media/usb/gspca/t613.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/usb/gspca/t613.c')
-rw-r--r--drivers/media/usb/gspca/t613.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/gspca/t613.c b/drivers/media/usb/gspca/t613.c
index 8bc6c3ceec2c..b92d4ef2de6e 100644
--- a/drivers/media/usb/gspca/t613.c
+++ b/drivers/media/usb/gspca/t613.c
@@ -494,7 +494,7 @@ static void setcolors(struct gspca_dev *gspca_dev, s32 val)
static void setgamma(struct gspca_dev *gspca_dev, s32 val)
{
- PDEBUG(D_CONF, "Gamma: %d", sd->gamma);
+ PDEBUG(D_CONF, "Gamma: %d", val);
reg_w_ixbuf(gspca_dev, 0x90,
gamma_table[val], sizeof gamma_table[0]);
}