Re: [PATCH 1/2] iio: humidity: hdc100x: move lock on config updates to single function

2016-07-15 Thread Alison Schofield
On Sun, Jul 10, 2016 at 02:30:01PM -0700, Alison Schofield wrote: > Move the config register locking to the config update function. This > continues to protect updates to heater and integration times. It puts > the lock in one place, right where it needs to occur. Since creating this patch, I've

[PATCH 1/2] iio: humidity: hdc100x: move lock on config updates to single function

2016-07-10 Thread Alison Schofield
Move the config register locking to the config update function. This continues to protect updates to heater and integration times. It puts the lock in one place, right where it needs to occur. Add the checkpatch required comment on this lock declaration. Signed-off-by: Alison Schofield Cc: Dani