]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: intel-lpss: Do not put device in reset state on suspend
authorAzhar Shaikh <azhar.shaikh@intel.com>
Wed, 12 Oct 2016 17:12:20 +0000 (10:12 -0700)
committerLee Jones <lee.jones@linaro.org>
Wed, 16 Nov 2016 09:50:25 +0000 (09:50 +0000)
commit6e7c9dedde2750926d2a97fb69b5dacbfca0d37b
tree4c6a3e9c64fe5b6f7d03eebf522846e772866274
parent1ea9cbc1748a310414e32158c14a328df122e310
mfd: intel-lpss: Do not put device in reset state on suspend

Commit ac32fd705439b ("mfd: intel-lpss: Save register context on
suspend") saved the register context while going to suspend and
also put the device in reset state.

Due to the resetting of device, system cannot enter S3/S0ix
states when no_console_suspend flag is enabled. The system
and serial console both hang. The resetting of device is not
needed while going to suspend. Hence remove this code.

Cc: stable@vger.kernel.org
Fixes: ac32fd705439b ("mfd: intel-lpss: Save register context on suspend")
Signed-off-by: Azhar Shaikh <azhar.shaikh@intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/intel-lpss.c