login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2011
»
January
»
2
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
[view in full thread]
From: Chris Ball
Subject:
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
Date: Sunday, January 2, 2011 - 12:52 pm
Hi Takashi, On Wed, Dec 22, 2010 at 09:59:44AM +0100, Takashi Iwai wrote:
quoted text
> Subject: [PATCH] mmc: fix mmc_set_bus_width_ddr() call without bus-width-test cap > > With the bus-width test patch, mmc_set_bus_width*() isn't called properly > when the driver doesn't set MMC_CAP_BUS_WIDTH and no DDR mode. > This patch fixes the regression by moving the call up before the cap test. > > Signed-off-by: Takashi Iwai <tiwai@suse.de> > --- > drivers/mmc/core/mmc.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c > index 1d8409f..c86dd73 100644 > --- a/drivers/mmc/core/mmc.c > +++ b/drivers/mmc/core/mmc.c > @@ -558,6 +558,8 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr, > EXT_CSD_BUS_WIDTH, > ext_csd_bits[idx][0]); > if (!err) { > + mmc_set_bus_width_ddr(card->host, > + bus_width, MMC_SDR_MODE); > /* > * If controller can't handle bus width test, > * use the highest bus width to maintain > @@ -565,8 +567,6 @@ static int mmc_init_card(struct mmc_host *host, u32 ocr, > */ > if (!(host->caps & MMC_CAP_BUS_WIDTH_TEST)) > break; > - mmc_set_bus_width_ddr(card->host, > - bus_width, MMC_SDR_MODE); > err = mmc_bus_test(card, bus_width); > if (!err) > break;
Thanks, I've pushed this fix to mmc-next now. -- Chris Ball <cjb@laptop.org> <http://printf.net/> One Laptop Per Child --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [author]
Messages in current thread:
[PATCH] mmc: Test bus-width for old MMC devices (v2)
, Takashi Iwai
, (Wed Dec 15, 12:14 am)
[PATCH] mmc: Enable bus-width tests on SDHCI host
, Takashi Iwai
, (Wed Dec 15, 6:17 am)
Re: [PATCH] mmc: Enable bus-width tests on SDHCI host
, Takashi Iwai
, (Wed Dec 15, 12:40 pm)
[PATCH] mmc/sdhci: Enable bus-width test for JMicron contr ...
, Takashi Iwai
, (Thu Dec 16, 9:54 am)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, Chris Ball
, (Thu Dec 16, 4:40 pm)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, Philip Rakity
, (Thu Dec 16, 7:33 pm)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, Chris Ball
, (Thu Dec 16, 8:43 pm)
Re: [PATCH] mmc/sdhci: Enable bus-width test for JMicron c ...
, Chris Ball
, (Thu Dec 16, 8:58 pm)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, Takashi Iwai
, (Fri Dec 17, 1:11 am)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, zhangfei gao
, (Tue Dec 21, 3:59 am)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, Philip Rakity
, (Tue Dec 21, 9:36 am)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, Philip Rakity
, (Tue Dec 21, 12:35 pm)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, zhangfei gao
, (Tue Dec 21, 8:56 pm)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, Takashi Iwai
, (Wed Dec 22, 1:59 am)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, zhangfei gao
, (Tue Dec 28, 1:27 am)
Re: [PATCH] mmc: Test bus-width for old MMC devices (v2)
, Chris Ball
, (Sun Jan 2, 12:52 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Paul Turner
[tg_shares_up rewrite v4 11/11] sched: update tg->shares after cpu.shares write
Mr. James W. Laferriere
Re: Linux 2.6.25-rc1 , syntax error near unexpected token `;'
Linus Torvalds
Linux 2.6.34-rc4
Colin Cross
[PATCH 12/21] ARM: tegra: Add suspend and hotplug support
Chuck Ebbert
Re: PCI: Unable to reserve mem region problem
git
:
Ralf Wildenhues
[PATCH] Fix typos in the documentation
Len Brown
Re: fatal: unable to create '.git/index': File exists
Denis Bueno
Git clone error
Paolo Bonzini
Re: [RFC/PATCH 5/6] revert: add --ff option to allow fast forward when cherry-pick...
Sam Vilain
Re: RFC: Flat directory for notes, or fan-out? Both!
git-commits-head
:
Linux Kernel Mailing List
ASoC: fix registration of the SoC card in the Freescale MPC8610 drivers
Linux Kernel Mailing List
drivers/acpi: use kasprintf
Linux Kernel Mailing List
nfsd41: sanity check client drc maxreqs
Linux Kernel Mailing List
bnx2x: Moving includes
Linux Kernel Mailing List
V4L/DVB: gspca - sonixj: Adjust minor values of sensor ov7630. - set the color ga...
openbsd-misc
:
Sevan / Venture37
Re: This is what Linus Torvalds calls openBSD crowd
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
Darrin Chandler
Re: OT: Python (was Re: vi in /bin)
Sam Fourman Jr.
Re: Help with Altell PC6700
linux-netdev
:
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Kurt Van Dijck
Re: [PATCH net-next-2.6 1/2] can: add driver for Softing card
Eric Dumazet
Re: [PATCH net-next-2.6] net: Introduce skb_orphan_try()
Jarek Poplawski
Re: socket api problem: can't bind an ipv6 socket to ::ffff:0.0.0.0
David Miller
Re: [PATCH v2] net: typos in comments in include/linux/igmp.h
Colocation donated by:
Syndicate