[PATCH 17/17] Input: tegra-kbc - use guard notation when acquiring mutex and spinlock
Thierry Reding
thierry.reding at gmail.com
Tue Aug 27 02:08:07 PDT 2024
On Sat, Aug 24, 2024 at 10:16:21PM GMT, Dmitry Torokhov wrote:
> This makes the code more compact and error handling more robust
> by ensuring that locks are released in all code paths when control
> leaves critical section.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov at gmail.com>
> ---
> drivers/input/keyboard/tegra-kbc.c | 45 +++++++++++++-----------------
> 1 file changed, 19 insertions(+), 26 deletions(-)
Acked-by: Thierry Reding <treding at nvidia.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20240827/271ad527/attachment.sig>
More information about the linux-arm-kernel
mailing list