Re: [PATCH 3/3] iio: adc: xilinx: prevent touching unclocked h/w on remove

2019-03-17 Thread Sven Van Asbroeck
On Sat, Mar 16, 2019 at 11:51 AM Jonathan Cameron wrote: > > Applied to the fixes-togreg branch of iio.git. > Thank you kindly for taking this patch set, Jonathan.

Re: [PATCH 3/3] iio: adc: xilinx: prevent touching unclocked h/w on remove

2019-03-16 Thread Jonathan Cameron
On Sun, 10 Mar 2019 14:58:26 -0400 Sven Van Asbroeck wrote: > In remove, the clock is disabled before canceling the > delayed work. This means that the delayed work may be > touching unclocked hardware. > > Fix by disabling the clock after the delayed work is > fully canceled. This is consistent

[PATCH 3/3] iio: adc: xilinx: prevent touching unclocked h/w on remove

2019-03-10 Thread Sven Van Asbroeck
In remove, the clock is disabled before canceling the delayed work. This means that the delayed work may be touching unclocked hardware. Fix by disabling the clock after the delayed work is fully canceled. This is consistent with the probe error path order. Signed-off-by: Sven Van Asbroeck ---