]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
hwrng: bcm2835 - Add missing clk_disable_unprepare in bcm2835_rng_init
authorGaosheng Cui <cuigaosheng1@huawei.com>
Sat, 3 Aug 2024 06:49:22 +0000 (14:49 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:11:15 +0000 (15:11 +0200)
commit07f76feca0974ba7a8a62a6a87e14de46bba5790
tree0131f3f5e9c999fda5328f5c67cb29ce0d0940e3
parent8bdb39831bf4177eba9913b07647468dd11d2c6b
hwrng: bcm2835 - Add missing clk_disable_unprepare in bcm2835_rng_init

commit d57e2f7cffd57fe2800332dec768ec1b67a4159f upstream.

Add the missing clk_disable_unprepare() before return in
bcm2835_rng_init().

Fixes: e5f9f41d5e62 ("hwrng: bcm2835 - add reset support")
Cc: <stable@vger.kernel.org>
Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
Reviewed-by: Florian Fainelli <florian.fainelli@broadcom.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/char/hw_random/bcm2835-rng.c