Re: [PATCH] regulator: userspace-consumer: Use atomic operation
From: Naresh Solanki
Date: Thu Aug 24 2023 - 07:05:12 EST
Hi,
On Wed, 23 Aug 2023 at 20:41, Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Wed, Aug 23, 2023 at 04:15:57PM +0200, Naresh Solanki wrote:
> > Replace mutexes with atomic operations.
>
> Why? Generally atomics are more complicated and hard to understand and
> get right.
Since the operations involved here are simple & short & can be managed by
atomic operation.
Regards,
Naresh