All of lore.kernel.org
 help / color / mirror / Atom feed
From: Martin Fuzzey <mfuzzey@parkeon.com>
To: Dong Aisheng <b29396@freescale.com>
Cc: Chris Ball <cjb@laptop.org>, linux-mmc@vger.kernel.org
Subject: [Regression: mmc: sdhci-esdhc-imx: add runtime pm support]
Date: Thu, 06 Feb 2014 15:55:35 +0100	[thread overview]
Message-ID: <52F3A267.8030302@parkeon.com> (raw)

Hello all,

since

commit 89d7e5c131228a8f0d8b0cb48b459c62152bf620
Author: Dong Aisheng <b29396@freescale.com>
Date:   Mon Nov 4 16:38:29 2013 +0800

     mmc: sdhci-esdhc-imx: add runtime pm support


My SDIO wifi module (WiiBear n modue based on Marvel 8787 chipset) using 
mainline mwifiex driver is no longer working:

[   33.465577] mwifiex_sdio mmc2:0001:1: mwifiex_cmd_timeout_func: 
Timeout cmd id (7242618.212205) = 0xa9, act = 0x0
[   33.475944] mwifiex_sdio mmc2:0001:1: num_data_h2c_failure = 0
[   33.481793] mwifiex_sdio mmc2:0001:1: num_cmd_h2c_failure = 0
[   33.487599] mwifiex_sdio mmc2:0001:1: num_cmd_timeout = 1
[   33.493010] mwifiex_sdio mmc2:0001:1: num_tx_timeout = 0
[   33.498371] mwifiex_sdio mmc2:0001:1: last_cmd_index = 1
[   33.503693] mwifiex_sdio mmc2:0001:1: last_cmd_id: 00 00 a9 00 00 00 
00 00 00 00
[   33.511137] mwifiex_sdio mmc2:0001:1: last_cmd_act: 00 00 00 00 00 00 
00 00 00 00
[   33.518660] mwifiex_sdio mmc2:0001:1: last_cmd_resp_index = 0
[   33.524417] mwifiex_sdio mmc2:0001:1: last_cmd_resp_id: 00 00 00 00 
00 00 00 00 00 00
[   33.532301] mwifiex_sdio mmc2:0001:1: last_event_index = 0
[   33.537825] mwifiex_sdio mmc2:0001:1: last_event: 00 00 00 00 00 00 
00 00 00 00
[   33.545164] mwifiex_sdio mmc2:0001:1: data_sent=1 cmd_sent=1
[   33.550863] mwifiex_sdio mmc2:0001:1: ps_mode=0 ps_state=0
[   33.556425] mwifiex_sdio mmc2:0001:1: cmd timeout
[   33.572375] mwifiex_sdio: Resetting card...
[   33.728913] mmc2: card 0001 removed


Increasing the autosuspend delay from 50ms to 500ms fixes the problem.

This is using an i.MX53 SOC

This is on 3.13 cherrypicking from mainline this patch and these two 
supporting patches:

commit d433dc63182825538b85de6a85e2ea3fad7f2917
Author: Dong Aisheng <b29396@freescale.com>
Date:   Mon Nov 4 16:38:25 2013 +0800

     mmc: sdhci-pltfm: export pltfm suspend/resume api


commit ce090a4eb9626272bfd2529520f2f16351029640
Author: Dong Aisheng <b29396@freescale.com>
Date:   Mon Nov 4 16:38:28 2013 +0800

     mmc: sdhci-esdhc-imx: fix runtime pm unbalance issue


Cheers,

Martin



             reply	other threads:[~2014-02-06 14:55 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06 14:55 Martin Fuzzey [this message]
2014-02-07  7:56 ` [Regression: mmc: sdhci-esdhc-imx: add runtime pm support] Dong Aisheng
2014-02-07  8:03   ` Dong Aisheng
2014-02-07  9:25     ` Martin Fuzzey
2014-02-08 12:42       ` Dong Aisheng
2015-07-01 13:13   ` Bastien Nocera
2015-07-01 20:19     ` Paul Mansfield
2015-07-01 20:20     ` Paul Mansfield

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=52F3A267.8030302@parkeon.com \
    --to=mfuzzey@parkeon.com \
    --cc=b29396@freescale.com \
    --cc=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.