Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7be3c134 authored by Michael Hennerich's avatar Michael Hennerich Committed by Dmitry Torokhov
Browse files

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: default avatarMichael Hennerich <michael.hennerich@analog.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 173bdd74
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;