From: Michael Hennerich Date: Thu, 5 Aug 2010 17:05:55 +0000 (-0700) Subject: Input: adxl34x - do not mark device as disabled on startup X-Git-Tag: firefly_0821_release~9833^2~1027^2^2~4 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=7be3c13425ddeed8427cfaad65c9123c2c8ca331;p=firefly-linux-kernel-4.4.55.git 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 Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/misc/adxl34x.c b/drivers/input/misc/adxl34x.c index e2ca01708080..de5900d50788 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;