All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Takashi Iwai <tiwai@suse.de>
Cc: Philip Rakity <prakity@marvell.com>,
	Aries Lee <arieslee@jmicron.com>,
	zhangfei gao <zhangfei.gao@gmail.com>,
	wuqm@marvell.com, linux-mmc@vger.kernel.org,
	linux-kernel@vger.kernel.org
Subject: Re: [PATCH] mmc/sdhci: Enable bus-width test for JMicron controllers
Date: Fri, 17 Dec 2010 03:58:06 +0000	[thread overview]
Message-ID: <20101217035806.GB19673@void.printf.net> (raw)
In-Reply-To: <s5h39pxpsjt.wl%tiwai@suse.de>

Hi Takashi,

On Thu, Dec 16, 2010 at 05:54:14PM +0100, Takashi Iwai wrote:
> 
> Signed-off-by: Takashi Iwai <tiwai@suse.de>
> ---
> 
> This is a patch to be applied after
>   "mmc: Test bus-width for old MMC devices (v2)"
> 
> and a replacement for the previous "mmc: Enable bus-width tests on
> SDHCI host" patch.  Instead of enabling all for sdhci, this one turns
> on the feature only for JMicron, just to be safer.
> 
> 
>  drivers/mmc/host/sdhci-pci.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
> index d2638ff..0dc905b 100644
> --- a/drivers/mmc/host/sdhci-pci.c
> +++ b/drivers/mmc/host/sdhci-pci.c
> @@ -381,6 +381,8 @@ static int jmicron_probe_slot(struct sdhci_pci_slot *slot)
>  	    slot->chip->pdev->device == PCI_DEVICE_ID_JMICRON_JMB388_ESD)
>  		jmicron_enable_mmc(slot->host, 1);
>  
> +	slot->host->mmc->caps |= MMC_CAP_BUS_WIDTH_TEST;
> +
>  	return 0;
>  }
>  

Thanks, pushed to mmc-next.

(Do others on the list agree that bus-width testing should be
whitelisted per-host like this?)

-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

  reply	other threads:[~2010-12-17  3:58 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-15  7:14 [PATCH] mmc: Test bus-width for old MMC devices (v2) Takashi Iwai
2010-12-15 13:17 ` [PATCH] mmc: Enable bus-width tests on SDHCI host Takashi Iwai
2010-12-15 19:40   ` Takashi Iwai
2010-12-16 16:54     ` [PATCH] mmc/sdhci: Enable bus-width test for JMicron controllers Takashi Iwai
2010-12-17  3:58       ` Chris Ball [this message]
2010-12-16 23:40 ` [PATCH] mmc: Test bus-width for old MMC devices (v2) Chris Ball
2010-12-17  2:33   ` Philip Rakity
2010-12-17  3:43     ` Chris Ball
2010-12-17  8:11       ` Takashi Iwai
2010-12-21 10:59         ` zhangfei gao
2010-12-21 16:36           ` Philip Rakity
2010-12-21 19:35             ` Philip Rakity
2010-12-22  3:56             ` zhangfei gao
2010-12-22  8:59               ` Takashi Iwai
2010-12-22  8:59                 ` Takashi Iwai
2010-12-28  8:27                 ` zhangfei gao
2011-01-02 19:52                 ` Chris Ball

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=20101217035806.GB19673@void.printf.net \
    --to=cjb@laptop.org \
    --cc=arieslee@jmicron.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=prakity@marvell.com \
    --cc=tiwai@suse.de \
    --cc=wuqm@marvell.com \
    --cc=zhangfei.gao@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 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.