Re: [PATCH 2/4] iio: mma8452: avoid switching to active because of config change

2016-03-05 Thread Jonathan Cameron
On 03/03/16 08:24, Martin Kepplinger wrote: > The devices' config registers can only be changed in standby mode. > Up until now the driver just held the device *always* active, so for > changing a config it was *always* necessary to switch to standby. > > For upcoming support for runtime pm, the

Re: [PATCH 2/4] iio: mma8452: avoid switching to active because of config change

2016-03-05 Thread Jonathan Cameron
On 03/03/16 08:24, Martin Kepplinger wrote: > The devices' config registers can only be changed in standby mode. > Up until now the driver just held the device *always* active, so for > changing a config it was *always* necessary to switch to standby. > > For upcoming support for runtime pm, the

[PATCH 2/4] iio: mma8452: avoid switching to active because of config change

2016-03-03 Thread Martin Kepplinger
The devices' config registers can only be changed in standby mode. Up until now the driver just held the device *always* active, so for changing a config it was *always* necessary to switch to standby. For upcoming support for runtime pm, the device can as well be in standby mode. Instead of

[PATCH 2/4] iio: mma8452: avoid switching to active because of config change

2016-03-03 Thread Martin Kepplinger
The devices' config registers can only be changed in standby mode. Up until now the driver just held the device *always* active, so for changing a config it was *always* necessary to switch to standby. For upcoming support for runtime pm, the device can as well be in standby mode. Instead of