diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2024-08-20 13:19:10 +0300 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-09-10 00:34:00 +0200 |
commit | 3149a9cf36cf17411e8564e22ec698b5aa2175c5 (patch) | |
tree | 75ef8f5936469585e1a60316991b25039df7bb33 /lib/test_bitops.c | |
parent | a1ecb041589017ce4e03d92f3b9a92a2a8a37ceb (diff) |
i2c: riic: Use pm_runtime_resume_and_get()
pm_runtime_get_sync() may return with error. In case it returns with error
dev->power.usage_count needs to be decremented. pm_runtime_resume_and_get()
takes care of this. Thus use it.
Reviewed-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'lib/test_bitops.c')
0 files changed, 0 insertions, 0 deletions