[PATCH v2 0/2] mfd: rtsx: fix PM suspend for 5227 & 5249

From: micky_ching
Date: Thu Sep 11 2014 - 22:15:13 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/