Skip to content

Commit

Permalink
sema_autobr: Change max_lux input to 4000
Browse files Browse the repository at this point in the history
  • Loading branch information
Stratos Karafotis committed May 1, 2013
1 parent bbf1cef commit 9e7a8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/samsung/sema_autobr.c
Expand Up @@ -171,7 +171,7 @@ static ssize_t store_max_lux(struct device *dev, struct device_attribute *attr,
int ret;

ret = sscanf(buf, "%hu", &input);
if (ret != 1 || input < 1 || input > DRV_MAX_LUX)
if (ret != 1 || input < 1 || input > (DRV_MAX_LUX + 1000)
return -EINVAL;

sa_tuners.max_lux = input;
Expand Down

0 comments on commit 9e7a8ea

Please sign in to comment.