From: Micky Ching <micky_ching@xxxxxxxxxxxxxx> v2: using (err < 0) to check if a function failed, not using "if (err)" and "if (err < 0)" in mixing way. This patch fix rts5227 and rts5249 suspend issue, when card reader resumed from suspend state, the power state should reset before send buffer command. The original not reset PM state first, so this will lead resume failed, and can not do anything more. Micky Ching (2): mfd: rtsx: fix PM suspend for 5227 mfd: rtsx: fix PM suspend for 5249 drivers/mfd/rts5227.c | 19 +++++++++++++++++++ drivers/mfd/rts5249.c | 17 +++++++++++++++++ include/linux/mfd/rtsx_pci.h | 12 ++++++++++++ 3 files changed, 48 insertions(+) -- 1.7.9.5 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel