public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Xiangfu Liu <xiangfu.z@gmail.com>
To: "Thomas Langås" <thomas.langaas@gmail.com>
Cc: linux-mmc@vger.kernel.org
Subject: Re: SDIO wifi card works with 2.6.36, not with 3.2
Date: Sat, 26 Nov 2011 09:02:55 +0800	[thread overview]
Message-ID: <4ED03ABF.5070604@gmail.com> (raw)
In-Reply-To: <CANN7TQkp4t2rhfS=LM38TSUdrp2pE7d0VX_t36AjiEEqayqNmQ@mail.gmail.com>

Hi

I am not sure if this is the root cause. by revert this commit.[1]
our SDIO ks7010 wifi card work again in linux 3.0.

check out this emails, under mailing list:
   SDIO single IRQ optimization breaks libertas
   http://permalink.gmane.org/gmane.linux.kernel.mmc/8338


[1]
Revert "mmc: sdio: optimized SDIO IRQ handling for single irq"
This reverts commit 06e8935febe687e2a561707d4c7ca4245d261dbe.



On 11/26/2011 06:26 AM, Thomas Langås wrote:
> I have a slightly weird problem; I have an Samsung Exynos 4210 with an BCM4329
> wifi-chip connected through the MMC-bus using SDIO.
>
> This setup works fine with 2.6.35.7 Android-kernel, but not with
> 3.2-rc1 (non-Android).
>
> CMD52 read/write works correctly, but CMD53 only works with reads. All CMD53
> writes fails.
>
> Here's an example output of the errorlog:
> [  267.175000] brcmf_sdioh_request_word: rw=1, func=1, addr=0x0bf98, nbytes=4
> [  267.175000] mmc1: starting CMD53 arg 957f3004 flags 000001b5
> [  267.175000] mmc1:     blksz 4 blocks 1 flags 00000100 tsac 1000 ms nsac 0
> [  267.175000] sdhci [sdhci_irq()]: *** mmc1 got interrupt: 0x00208003
> [  267.175000] mmc1: req done (CMD53): 0: 00001000 00000000 00000000 00000000
> [  267.175000] mmc1:     0 bytes transferred: -84
>
> I've checked the setup registers (pad-controlls to see that all pads
> are set to mmc
> instead of gpio, and mmc registers).  All are identical on Android and
> non-Android,
> so it doesn'tseem like the problem is there at least.
>
> Any ideas on how to proceed with locating the problem?
>



  reply	other threads:[~2011-11-26  1:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-25 22:26 SDIO wifi card works with 2.6.36, not with 3.2 Thomas Langås
2011-11-26  1:02 ` Xiangfu Liu [this message]
2011-11-27  9:40   ` Thomas Langås
2012-02-09  1:46     ` james

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=4ED03ABF.5070604@gmail.com \
    --to=xiangfu.z@gmail.com \
    --cc=linux-mmc@vger.kernel.org \
    --cc=thomas.langaas@gmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox