Searched hist:"5 ad4d0b64820ae6f123261060dffe3f11cb023ff" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/char/hw_random/ |
H A D | mtk-rng.c | diff 5ad4d0b64820ae6f123261060dffe3f11cb023ff Mon Aug 26 02:04:15 CDT 2024 Guoqing Jiang <guoqing.jiang@canonical.com> hwrng: mtk - Use devm_pm_runtime_enable
commit 78cb66caa6ab5385ac2090f1aae5f3c19e08f522 upstream.
Replace pm_runtime_enable with the devres-enabled version which can trigger pm_runtime_disable.
Otherwise, the below appears during reload driver.
mtk_rng 1020f000.rng: Unbalanced pm_runtime_enable!
Fixes: 81d2b34508c6 ("hwrng: mtk - add runtime PM support") Cc: <stable@vger.kernel.org> Suggested-by: Chen-Yu Tsai <wenst@chromium.org> Signed-off-by: Guoqing Jiang <guoqing.jiang@canonical.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|