Re: [PATCH] misc: atmel-ssc: lock with mutex instead of spinlock

2020-06-01 Thread Michał Mirosław
On Mon, Jun 01, 2020 at 11:18:48AM +0200, Markus Elfring wrote: > > Uninterruptible context is not needed in the driver and causes lockdep > > warning because of mutex taken in of_alias_get_id(). > > Was a spin lock taken? > > Convert the lock to mutex to avoid the issue. > Would you like to add

Re: [PATCH] misc: atmel-ssc: lock with mutex instead of spinlock

2020-06-01 Thread Markus Elfring
> Uninterruptible context is not needed in the driver and causes lockdep > warning because of mutex taken in of_alias_get_id(). Was a spin lock taken? > Convert the lock to mutex to avoid the issue. Would you like to add the tag “Fixes” to the commit message? Regards, Markus

[PATCH] misc: atmel-ssc: lock with mutex instead of spinlock

2020-05-31 Thread Michał Mirosław
Uninterruptible context is not needed in the driver and causes lockdep warning because of mutex taken in of_alias_get_id(). Convert the lock to mutex to avoid the issue. Cc: sta...@vger.kernel.org Signed-off-by: Michał Mirosław --- drivers/misc/atmel-ssc.c | 24 1 file