diff options
author | Dan Carpenter <[email protected]> | 2023-04-20 18:02:11 +0300 |
---|---|---|
committer | Lee Jones <[email protected]> | 2023-04-26 11:40:35 +0100 |
commit | 1e28dfdf40d7293882ba7eb70a3bc0e9ab625377 (patch) | |
tree | 712767c77f1580f3cebff2aefc4271570b8e67a2 /lib/mpi/mpi-mod.c | |
parent | 1706636eafcab76e08784f66f80f00d9aa59bed1 (diff) |
counter: rz-mtu3-cnt: Unlock on error in rz_mtu3_count_ceiling_write()
These error paths need to call mutex_unlock(&priv->lock) before
returning. The lock is taken in rz_mtu3_lock_if_counter_is_valid().
Fixes: 25d21447d896 ("counter: Add Renesas RZ/G2L MTU3a counter driver")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: William Breathitt Gray <[email protected]>
Signed-off-by: Lee Jones <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions