aboutsummaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJinjie Ruan <[email protected]>2024-09-23 11:42:50 +0800
committerAndi Shyti <[email protected]>2024-09-27 11:48:21 +0200
commit0c8d604dea437b69a861479b413d629bc9b3da70 (patch)
treeb7c4e9f4dd88f0f1ff5b8c705c023606932b9e93 /lib/crypto/mpi/mpi-sub-ui.c
parent6d3405415f887aef5774c04ae9fefae63d82bdaf (diff)
i2c: xiic: Fix pm_runtime_set_suspended() with runtime pm enabled
It is not valid to call pm_runtime_set_suspended() for devices with runtime PM enabled because it returns -EAGAIN if it is enabled already and working. So, call pm_runtime_disable() before to fix it. Fixes: 36ecbcab84d0 ("i2c: xiic: Implement power management") Cc: <[email protected]> # v4.6+ Signed-off-by: Jinjie Ruan <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions