summaryrefslogtreecommitdiff
path: root/drivers/i2c/i2c-smbus.c
diff options
context:
space:
mode:
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>2024-08-20 13:19:11 +0300
committerAndi Shyti <andi.shyti@kernel.org>2024-09-10 00:34:00 +0200
commit10d5c8845d36ca71212f588849532c5f484111e4 (patch)
treee642dda9c5a4d6c1ab967fb3f5278bc099fcf44a /drivers/i2c/i2c-smbus.c
parent3149a9cf36cf17411e8564e22ec698b5aa2175c5 (diff)
downloadlwn-10d5c8845d36ca71212f588849532c5f484111e4.tar.gz
lwn-10d5c8845d36ca71212f588849532c5f484111e4.zip
i2c: riic: Enable runtime PM autosuspend support
Enable runtime PM autosuspend support for the RIIC driver. With this, in case there are consecutive xfer requests the device wouldn't be runtime enabled/disabled after each consecutive xfer but after the the delay configured by user. With this, we can avoid touching hardware registers involved in runtime PM suspend/resume saving in this way some cycles. The default chosen autosuspend delay is zero to keep the previous driver behavior. 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 'drivers/i2c/i2c-smbus.c')
0 files changed, 0 insertions, 0 deletions