Re: [PATCH 2/3] iio: stmpe-adc: Make wait_completion non interruptible

2019-05-07 Thread Philippe Schenker
On Tue, 2019-05-07 at 08:23 +, David Laight wrote: > From: Jonathan Cameron > > Sent: 05 May 2019 16:44 > > On Fri, 3 May 2019 15:58:38 + > > Philippe Schenker wrote: > > > > > On Fri, 2019-05-03 at 14:39 +, David Laight wrote: > > > > From: Philippe Schenker > > > > > Sent: 03 May

Re: [PATCH 2/3] iio: stmpe-adc: Make wait_completion non interruptible

2019-05-03 Thread Philippe Schenker
On Fri, 2019-05-03 at 14:39 +, David Laight wrote: > From: Philippe Schenker > > Sent: 03 May 2019 14:57 > > In some cases, the wait_completion got interrupted. This caused the > > error-handling to mutex_unlock the function. The before turned on > > interrupt then got called anyway. In the

RE: [PATCH 2/3] iio: stmpe-adc: Make wait_completion non interruptible

2019-05-03 Thread David Laight
From: Philippe Schenker > Sent: 03 May 2019 14:57 > In some cases, the wait_completion got interrupted. This caused the > error-handling to mutex_unlock the function. The before turned on > interrupt then got called anyway. In the ISR then completion() > was called causing problems. > > Making

[PATCH 2/3] iio: stmpe-adc: Make wait_completion non interruptible

2019-05-03 Thread Philippe Schenker
From: Philippe Schenker In some cases, the wait_completion got interrupted. This caused the error-handling to mutex_unlock the function. The before turned on interrupt then got called anyway. In the ISR then completion() was called causing problems. Making this wait_completion non interruptible