diff options
author | Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com> | 2024-08-20 13:19:09 +0300 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-09-10 00:33:59 +0200 |
commit | a1ecb041589017ce4e03d92f3b9a92a2a8a37ceb (patch) | |
tree | 9e2174432d7230030a036bf0905b26d110067bf1 /net | |
parent | b42ed9fd6cd111a312e4ef35d9a417756f581bef (diff) |
i2c: riic: Call pm_runtime_get_sync() when need to access registers
There is no need to runtime resume the device as long as the IP registers
are not accessed. Calling pm_runtime_get_sync() at the register access
time leads to a simpler error path.
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
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 'net')
0 files changed, 0 insertions, 0 deletions