[PATCH 3/3] i2c: xiic: Replace spinlock with mutex

2015-11-16 Thread Lars-Peter Clausen
All protected sections are only called from sleep-able context, so there is no need to use a spinlock. Signed-off-by: Lars-Peter Clausen --- drivers/i2c/busses/i2c-xiic.c | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git

Re: [PATCH 3/3] i2c: xiic: Replace spinlock with mutex

2015-11-16 Thread Shubhrajyoti Datta
On Mon, Nov 16, 2015 at 7:12 PM, Lars-Peter Clausen wrote: > All protected sections are only called from sleep-able context, so there is > no need to use a spinlock. Looks good to me. Feel free to add my reviewed by. > > Signed-off-by: Lars-Peter Clausen > ---

Re: [PATCH 3/3] i2c: xiic: Replace spinlock with mutex

2015-11-16 Thread Shubhrajyoti Datta
On Tue, Nov 17, 2015 at 10:48 AM, Shubhrajyoti Datta wrote: > On Mon, Nov 16, 2015 at 7:12 PM, Lars-Peter Clausen wrote: >> All protected sections are only called from sleep-able context, so there is >> no need to use a spinlock. > > Looks good to