]> git.baikalelectronics.ru Git - kernel.git/commit
soc: amlogic: Fix refcount leak in meson-secure-pwrc.c
authorLiang He <windhl@126.com>
Thu, 16 Jun 2022 14:49:15 +0000 (22:49 +0800)
committerNeil Armstrong <narmstrong@baylibre.com>
Fri, 17 Jun 2022 07:40:40 +0000 (09:40 +0200)
commit425df73f9ba64559003c3a9a3a9cd7735ac1eed3
tree9724792b8061815887aa691d6ea71e06ccdf4c77
parentab94d39d2e28b586c1da339e3ebafcf0482377c2
soc: amlogic: Fix refcount leak in meson-secure-pwrc.c

In meson_secure_pwrc_probe(), there is a refcount leak in one fail
path.

Signed-off-by: Liang He <windhl@126.com>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Fixes: d8d7a4570ae1 ("soc: amlogic: Add support for Secure power domains controller")
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link: https://lore.kernel.org/r/20220616144915.3988071-1-windhl@126.com
drivers/soc/amlogic/meson-secure-pwrc.c