i2c: enable async suspend/resume for i2c adapters
authorRajat Jain <rajatja@google.com>
Mon, 25 Oct 2021 21:35:30 +0000 (14:35 -0700)
committerWolfram Sang <wsa@kernel.org>
Mon, 29 Nov 2021 16:50:33 +0000 (17:50 +0100)
commitd320ec7acc83a66cb1367f6cdee53177f07a9f5d
tree1220e4b85cfb1aa032bc1cc4b71910d3b3f35f16
parent7c5b3c158b38dcf0c3c62657d9aa39decaf59cdc
i2c: enable async suspend/resume for i2c adapters

Enable async suspend/resume of i2c adapters. It enormously helps with
reducing the resume time of systems (as much as 20%-40%) where I2C devices
can take significant time (100s of ms) to resume.

Signed-off-by: Rajat Jain <rajatja@google.com>
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/i2c-core-base.c