From 9e7a8ea421340886ff5666ffaed600edc153b183 Mon Sep 17 00:00:00 2001 From: Stratos Karafotis Date: Wed, 1 May 2013 23:37:21 +0300 Subject: [PATCH] sema_autobr: Change max_lux input to 4000 --- drivers/video/samsung/sema_autobr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/video/samsung/sema_autobr.c b/drivers/video/samsung/sema_autobr.c index a9e48bb40579..27e6401628dd 100644 --- a/drivers/video/samsung/sema_autobr.c +++ b/drivers/video/samsung/sema_autobr.c @@ -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;