login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
6
Re: [PATCH v3] OMAP: Fix for bus width which improves SD card's peformance.
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Nishanth Menon
Subject:
Re: [PATCH v3] OMAP: Fix for bus width which improves SD card's peformance.
Date: Tuesday, April 6, 2010 - 4:39 pm
Chikkature Rajashekar, Madhusudhan had written, on 04/06/2010 06:23 PM, the following:
quoted text
> >> -----Original Message----- >> From: Felipe Balbi [mailto:felipe.balbi@nokia.com] >> Sent: Tuesday, April 06, 2010 11:57 AM >> To: ext Nishanth Menon >> Cc: Balbi Felipe (Nokia-D/Helsinki); Chikkature Rajashekar, Madhusudhan; >> me@felipebalbi.com; 'kishore kadiyala'; 'Vimal Singh'; tony@atomide.com; >> S, Venkatraman; linux-omap@vger.kernel.org; linux-kernel@vger.kernel.org; >> Lavinen Jarkko (Nokia-D/Helsinki) >> Subject: Re: [PATCH v3] OMAP: Fix for bus width which improves SD card's >> peformance. >> >> On Tue, Apr 06, 2010 at 06:55:03PM +0200, ext Nishanth Menon wrote: >>> some reasons why i love switch statements ;) since I dont expect other >>> than precisely 4 and 8 (do we expect 5,6,7 - i might be wrong).. but if >>> it is so, wont the following be better? >>> >>> switch (mmc_slot(host).wires) >>> { >>> case 8: >>> mmc->caps |= MMC_CAP_8_BIT_DATA; >>> /* fall thru*/ >>> case 4: >>> mmc->caps |= MMC_CAP_4_BIT_DATA; >>> break; >>> default: >>> WARN("bad width"); >>> } >> I like that, but I remember Madhu (or someone else) saying he thinks >> it's less readable this way. Go figure... >> > Well, I did not comment on the usage of switch here. Note we only need to > handle 8-bit and 4-bit.The board files need not setup 8-bit or 4-bit if the > configuration of that board is 1-bit. The driver will still work in 1-bit > mode which would mean there is nothing to do in default case and should not > err out.
check the attachment out.. hope that takes care of it.. just as a reference alone ofcourse.. -- Regards, Nishanth Menon
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] OMAP: Fix for bus width which improves SD card's ...
, kishore kadiyala
, (Thu Feb 11, 7:20 am)
RE: [PATCH] OMAP: Fix for bus width which improves SD card ...
, Madhusudhan
, (Thu Feb 11, 10:34 am)
[PATCH-V2] OMAP: Fix for bus width which improves SD card' ...
, kishore kadiyala
, (Tue Mar 30, 11:07 pm)
Re: [PATCH-V2] OMAP: Fix for bus width which improves SD c ...
, Vimal Singh
, (Tue Mar 30, 11:27 pm)
Re: [PATCH-V2] OMAP: Fix for bus width which improves SD c ...
, kishore kadiyala
, (Wed Mar 31, 12:03 am)
Re: [PATCH-V2] OMAP: Fix for bus width which improves SD c ...
, Jarkko Nikula
, (Wed Mar 31, 6:11 am)
RE: [PATCH-V2] OMAP: Fix for bus width which improves SD c ...
, Madhusudhan
, (Wed Mar 31, 9:37 am)
Re: [PATCH-V2] OMAP: Fix for bus width which improves SD c ...
, kishore kadiyala
, (Wed Mar 31, 11:31 pm)
RE: [PATCH-V2] OMAP: Fix for bus width which improves SD c ...
, Madhusudhan
, (Thu Apr 1, 8:41 am)
[PATCH v3] OMAP: Fix for bus width which improves SD card' ...
, kishore kadiyala
, (Mon Apr 5, 5:56 am)
Re: [PATCH v3] OMAP: Fix for bus width which improves SD c ...
, Felipe Balbi
, (Mon Apr 5, 9:48 am)
RE: [PATCH v3] OMAP: Fix for bus width which improves SD c ...
, Madhusudhan
, (Mon Apr 5, 10:19 am)
RE: [PATCH v3] OMAP: Fix for bus width which improves SD c ...
, Madhusudhan
, (Mon Apr 5, 10:43 am)
Re: [PATCH v3] OMAP: Fix for bus width which improves SD c ...
, Felipe Balbi
, (Mon Apr 5, 10:00 pm)
[No subject]
, Madhusudhan
, (Tue Apr 6, 9:16 am)
[No subject]
, Felipe Balbi
, (Tue Apr 6, 9:32 am)
[No subject]
, Nishanth Menon
, (Tue Apr 6, 9:55 am)
[No subject]
, Felipe Balbi
, (Tue Apr 6, 9:57 am)
RE: [PATCH v3] OMAP: Fix for bus width which improves SD c ...
, Madhusudhan
, (Tue Apr 6, 4:23 pm)
Re: [PATCH v3] OMAP: Fix for bus width which improves SD c ...
, Nishanth Menon
, (Tue Apr 6, 4:39 pm)
RE: [PATCH v3] OMAP: Fix for bus width which improves SD c ...
, Madhusudhan
, (Tue Apr 6, 5:16 pm)
Re: [PATCH v3] OMAP: Fix for bus width which improves SD c ...
, Nishanth Menon
, (Tue Apr 6, 5:57 pm)
RE: [PATCH v3] OMAP: Fix for bus width which improves SD c ...
, Madhusudhan
, (Thu Apr 8, 9:57 am)
[PATCH v4] OMAP: Fix for bus width which improves SD card' ...
, kishore kadiyala
, (Mon Apr 19, 8:36 am)
[PATCH v4] OMAP: Fix for bus width which improves SD card' ...
, kishore kadiyala
, (Mon Apr 19, 8:51 am)
RE: [PATCH v4] OMAP: Fix for bus width which improves SD c ...
, Madhusudhan
, (Wed Apr 21, 5:26 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Rafael J. Wysocki
[Bug #11287] Regression in 2.6.27-rc2 in acpi_processor_init()
Ingo Molnar
Re: [GIT PULL] time.c - respin
Ingo Molnar
Re: [PATCH] x86: silence section mismatch warning - uv_cpu_init
Alexander van Heukelum
Re: [PATCH] bitops: simplify generic bit finding functions
git
:
Mark Junker
git on MacOSX and files with decomposed utf-8 file names
Junio C Hamano
Re: git-svnimport
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Karl
Re: Git as a filesystem
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Gerrit Renker
[PATCH 1/5] dccp: Initialisation framework for feature negotiation
Mike Frysinger
Re: bridge netpoll support: mismatch between net core and bridge headers
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
timer: Try to survive timer callback preempt_count leak
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
Stephen J. Bevan
GRE over IPsec
Christophe Rioux
Implementation example of snmp
Darrin Chandler
Re: strange output on openbsd C code
Nick Holland
Re: booting openbsd on eee without cd-rom
Guido Tschakert
Re: what exactly is enc0?
Colocation donated by:
Syndicate