aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorMichael Hennerich <Michael.Hennerich@analog.com>2010-08-05 10:05:55 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2010-08-05 10:07:31 -0700
commit7be3c13425ddeed8427cfaad65c9123c2c8ca331 (patch)
treec59ed36671bc42b26ca6f18ff497f6e218af4298 /drivers/input
parent173bdd746b128241d3d6d202142820692e7dd530 (diff)
downloadkernel_samsung_crespo-7be3c13425ddeed8427cfaad65c9123c2c8ca331.zip
kernel_samsung_crespo-7be3c13425ddeed8427cfaad65c9123c2c8ca331.tar.gz
kernel_samsung_crespo-7be3c13425ddeed8427cfaad65c9123c2c8ca331.tar.bz2
Input: adxl34x - do not mark device as disabled on startup
Do not mark device as desabled on startup - otherwise user must reset disable sysfs hook before the driver delivers any data. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/misc/adxl34x.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/adxl34x.c b/drivers/input/misc/adxl34x.c
index e2ca017..de5900d 100644
--- a/drivers/input/misc/adxl34x.c
+++ b/drivers/input/misc/adxl34x.c
@@ -724,7 +724,6 @@ struct adxl34x *adxl34x_probe(struct device *dev, int irq,
pdata = &ac->pdata;
ac->input = input_dev;
- ac->disabled = true;
ac->dev = dev;
ac->irq = irq;
ac->bops = bops;