aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpicoder.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2016-03-14 00:07:13 +0000
committerHerbert Xu <[email protected]>2016-04-05 12:35:43 +0000
commitf1925d78d7b710a1179828d53e918295f5f5d222 (patch)
tree96591f8fc544a45b1ccc48f25ca1c25918d5e883 /lib/mpi/mpicoder.c
parenthwrng: exynos - Runtime suspend device after init (diff)
downloadkernel-f1925d78d7b710a1179828d53e918295f5f5d222.tar.gz
kernel-f1925d78d7b710a1179828d53e918295f5f5d222.zip
hwrng: exynos - Fix unbalanced PM runtime put on timeout error path
In case of timeout during read operation, the exit path lacked PM runtime put. This could lead to unbalanced runtime PM usage counter thus leaving the device in an active state. Fixes: d7fd6075a205 ("hwrng: exynos - Add timeout for waiting on init done") Cc: <[email protected]> # v4.4+ Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions