Re: [PATCH v8 21/22] counter: 104-quad-8: Replace mutex with spinlock

2021-02-18 Thread William Breathitt Gray
On Tue, Feb 16, 2021 at 07:27:20PM +, Jonathan Cameron wrote: > On Tue, 16 Feb 2021 11:16:03 +0900 > William Breathitt Gray wrote: > > > On Sun, Feb 14, 2021 at 06:19:46PM +, Jonathan Cameron wrote: > > > On Fri, 12 Feb 2021 21:13:45 +0900 > > > William Breathitt Gray wrote: > > > > >

Re: [PATCH v8 21/22] counter: 104-quad-8: Replace mutex with spinlock

2021-02-16 Thread Jonathan Cameron
On Tue, 16 Feb 2021 11:16:03 +0900 William Breathitt Gray wrote: > On Sun, Feb 14, 2021 at 06:19:46PM +, Jonathan Cameron wrote: > > On Fri, 12 Feb 2021 21:13:45 +0900 > > William Breathitt Gray wrote: > > > > > This patch replaces the mutex I/O lock with a spinlock. This is in > > > prep

Re: [PATCH v8 21/22] counter: 104-quad-8: Replace mutex with spinlock

2021-02-15 Thread William Breathitt Gray
On Sun, Feb 14, 2021 at 06:19:46PM +, Jonathan Cameron wrote: > On Fri, 12 Feb 2021 21:13:45 +0900 > William Breathitt Gray wrote: > > > This patch replaces the mutex I/O lock with a spinlock. This is in > > preparation for a subsequent patch adding IRQ support for 104-QUAD-8 > > devices; we

Re: [PATCH v8 21/22] counter: 104-quad-8: Replace mutex with spinlock

2021-02-14 Thread Jonathan Cameron
On Fri, 12 Feb 2021 21:13:45 +0900 William Breathitt Gray wrote: > This patch replaces the mutex I/O lock with a spinlock. This is in > preparation for a subsequent patch adding IRQ support for 104-QUAD-8 > devices; we can't sleep in an interrupt context, so we'll need to use a > spinlock instead

[PATCH v8 21/22] counter: 104-quad-8: Replace mutex with spinlock

2021-02-12 Thread William Breathitt Gray
This patch replaces the mutex I/O lock with a spinlock. This is in preparation for a subsequent patch adding IRQ support for 104-QUAD-8 devices; we can't sleep in an interrupt context, so we'll need to use a spinlock instead. Cc: Syed Nayyar Waris Signed-off-by: William Breathitt Gray --- drive