All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] mfd: rtsx: fix PM suspend for 5227 & 5249
@ 2014-09-12  1:30 micky_ching
  2014-09-12  1:30 ` [PATCH v2 1/2] mfd: rtsx: fix PM suspend for 5227 micky_ching
  2014-09-12  1:30 ` [PATCH v2 2/2] mfd: rtsx: fix PM suspend for 5249 micky_ching
  0 siblings, 2 replies; 4+ messages in thread
From: micky_ching @ 2014-09-12  1:30 UTC (permalink / raw)
  To: sameo, lee.jones
  Cc: devel, linux-kernel, gregkh, rogerable, wei_wang, Micky Ching

From: Micky Ching <micky_ching@realsil.com.cn>

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-17 16:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-12  1:30 [PATCH v2 0/2] mfd: rtsx: fix PM suspend for 5227 & 5249 micky_ching
2014-09-12  1:30 ` [PATCH v2 1/2] mfd: rtsx: fix PM suspend for 5227 micky_ching
2014-09-17 16:39   ` Lee Jones
2014-09-12  1:30 ` [PATCH v2 2/2] mfd: rtsx: fix PM suspend for 5249 micky_ching

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.