Re: [PATCH 4/8] gpio: tqmx86: introduce _tqmx86_gpio_update_bits() helper
From: Andrew Lunn
Date: Wed May 29 2024 - 08:32:03 EST
> My intention was to mark functions that need to be called while holding the spinlock with a _
> prefix. Should I just remove the prefix and add a comment instead?
Yes.
You could also add sparse markup of the locks, or add an
assert_spin_locked(lock);
Andrew