i2c: enable async suspend/resume on i2c client devices
authorDerek Basehore <dbasehore@chromium.org>
Mon, 25 Oct 2021 21:35:31 +0000 (14:35 -0700)
committerWolfram Sang <wsa@kernel.org>
Mon, 29 Nov 2021 16:50:34 +0000 (17:50 +0100)
commit172d931910e1db800f4e71e8ed92281b6f8c6ee2
treeb147c6916badc83d4f9048ab32f47f54e20c042f
parentd320ec7acc83a66cb1367f6cdee53177f07a9f5d
i2c: enable async suspend/resume on i2c client devices

This enables the async suspend for i2c client devices. This reduces
the suspend/resume time considerably on platforms where i2c devices
can take a lot of time (hundreds of ms) to resume.

Signed-off-by: Derek Basehore <dbasehore@chromium.org>
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