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>
This commit is contained in:
parent
173bdd746b
commit
7be3c13425
|
@ -724,7 +724,6 @@ struct adxl34x *adxl34x_probe(struct device *dev, int irq,
|
||||||
pdata = &ac->pdata;
|
pdata = &ac->pdata;
|
||||||
|
|
||||||
ac->input = input_dev;
|
ac->input = input_dev;
|
||||||
ac->disabled = true;
|
|
||||||
ac->dev = dev;
|
ac->dev = dev;
|
||||||
ac->irq = irq;
|
ac->irq = irq;
|
||||||
ac->bops = bops;
|
ac->bops = bops;
|
||||||
|
|
Loading…
Reference in a new issue