Skip to content
Commit b55f7362 authored by Jean Delvare's avatar Jean Delvare Committed by Greg Kroah-Hartman
Browse files

i2c: i801: Exclude device from suspend direct complete optimization



commit 845b8912 upstream.

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: a9c8088c ("i2c: i801: Don't restore config registers on runtime PM")
Reported-by: default avatarVolker Rümelin <volker.ruemelin@googlemail.com>
Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
Cc: stable@vger.kernel.org
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
[iwamatsu: Use DPM_FLAG_NEVER_SKIP instead of DPM_FLAG_NO_DIRECT_COMPLETE]
Signed-off-by: default avatarNobuhiro Iwamatsu (CIP) <nobuhiro1.iwamatsu@toshiba.co.jp>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 9d3b4a36
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment