]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: i801: Exclude device from suspend direct complete optimization
authorJean Delvare <jdelvare@suse.de>
Thu, 10 Sep 2020 09:57:08 +0000 (11:57 +0200)
committerWolfram Sang <wsa@kernel.org>
Mon, 21 Sep 2020 09:44:21 +0000 (11:44 +0200)
commit2fc7c54c7332cbdf3d7b8e9f60b573e965408c0b
tree3cc626f46eb7958d1da19f711ebc065eaeedc31f
parentb0e5781a19ed88b82bc3a52fa6c2d0dacc709a66
i2c: i801: Exclude device from suspend direct complete optimization

By default, PCI drivers with runtime PM enabled will skip the calls
to suspend and resume on system PM. For this driver, we don't want
that, as we need to perform additional steps for system PM to work
properly on all systems. So instruct the PM core to not skip these
calls.

Fixes: 59e66235c9b1 ("i2c: i801: Don't restore config registers on runtime PM")
Reported-by: Volker RĂ¼melin <volker.ruemelin@googlemail.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-i801.c