i2c: designware: Enable async suspend / resume of designware devices
authorRajat Jain <rajatja@google.com>
Mon, 25 Oct 2021 21:35:29 +0000 (14:35 -0700)
committerWolfram Sang <wsa@kernel.org>
Mon, 29 Nov 2021 16:50:33 +0000 (17:50 +0100)
commit7c5b3c158b38dcf0c3c62657d9aa39decaf59cdc
tree5acf84a382500b0351e4ec66c5cf8e6af926bd95
parentebe82cf92cd4825c3029434cabfcd2f1780e64be
i2c: designware: Enable async suspend / resume of designware devices

Mark the designware devices for asynchronous suspend. With this, the
resume for designware devices does not get stuck behind other unrelated
devices (e.g. intel_backlight that takes hundreds of ms to resume,
waiting for its parent devices).

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