16 Apr, 2008
1 commit
-
Since 43cc71eed1250755986da4c0f9898f9a635cb3bf, the platform modalias is
prefixed with "platform:". Add MODULE_ALIAS() to the hotpluggable MMC host
platform drivers, to re-enable auto loading.Also, add missing owner declarations in driver init.
[dbrownell@users.sourceforge.net: registration fixes]
Signed-off-by: Kay Sievers
Signed-off-by: David Brownell
Acked-by: Pierre Ossman
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
23 Mar, 2008
1 commit
-
Suppressing uevents turned out to be a bad idea as it screws up the
order of events, making user space very confused. Change the system to
use sysfs groups instead.This is a regression that, for some odd reason, has gone unnoticed for
some time. It confuses hal so that the block devices (which have the
mmc device as a parent) are not registered. End result being that
desktop magic when cards are inserted won't work.Signed-off-by: Pierre Ossman
Signed-off-by: Linus Torvalds
16 Mar, 2008
1 commit
-
DATA_CARRY is not boolean
Signed-off-by: Roel Kluin
Signed-off-by: Pierre Ossman
Signed-off-by: Linus Torvalds
08 Feb, 2008
5 commits
-
This patch adds support for the Ricoh RL5c476 chip: with this
the mmc adapter that needs this disabler (R5C843) can also be
handled correctly when it sits on a RL5c476.Signed-off-by: Frank Seidel
Signed-off-by: Pierre Ossman -
Update the AT91 MMC driver to use the generic GPIO calls instead of the
AT91-specific calls; and to request (and release) those GPIO signals.That required updating the probe() fault cleanup codepaths. Now there
is a single sequence for freeing resources, in reverse order of their
allocation. Also that code uses use dev_*() for messaging, and has less
abuse of KERN_ERR.Likewise with updating remove() cleanup. This had to free the GPIOs,
and while adding that code I noticed and fixed two other problems: it
was poking at a workqueue owned by the mmc core; and in one (rare)
case would try freeing an IRQ that it didn't allocate.Signed-off-by: David Brownell
Signed-off-by: Nicolas Ferre
Signed-off-by: Pierre Ossman -
Some devices have several controllers; need add the index info to
device slot name host->slot_desc[]Signed-off-by: Feng Tang
Signed-off-by: Pierre Ossman -
Both of these drivers work well (although some hardware still has
its problems) and are not in the "alpha" quality that EXPERIMENTAL
suggests.Signed-off-by: Pierre Ossman
-
As pci config space is reinitialised on a suspend/resume cycle, the
disabler needs to work its magic at resume time. For symmetry this
change also explicitly enables the controller at suspend time but
it's not strictly necessary.Signed-off-by: Philipl Langdale
Signed-off-by: Pierre Ossman
29 Jan, 2008
1 commit
-
* 'blk-end-request' of git://git.kernel.dk/linux-2.6-block: (30 commits)
blk_end_request: changing xsysace (take 4)
blk_end_request: changing ub (take 4)
blk_end_request: cleanup of request completion (take 4)
blk_end_request: cleanup 'uptodate' related code (take 4)
blk_end_request: remove/unexport end_that_request_* (take 4)
blk_end_request: changing scsi (take 4)
blk_end_request: add bidi completion interface (take 4)
blk_end_request: changing ide-cd (take 4)
blk_end_request: add callback feature (take 4)
blk_end_request: changing ide normal caller (take 4)
blk_end_request: changing cpqarray (take 4)
blk_end_request: changing cciss (take 4)
blk_end_request: changing ide-scsi (take 4)
blk_end_request: changing s390 (take 4)
blk_end_request: changing mmc (take 4)
blk_end_request: changing i2o_block (take 4)
blk_end_request: changing viocd (take 4)
blk_end_request: changing xen-blkfront (take 4)
blk_end_request: changing viodasd (take 4)
blk_end_request: changing sx8 (take 4)
...
28 Jan, 2008
3 commits
-
* pxa-plat: (53 commits)
[ARM] 4762/1: Basic support for Toradex Colibri module
[ARM] pxa: fix mci_init functions returning -1
[ARM] 4737/1: Refactor corgi_lcd to improve readability + bugfix
[ARM] 4747/1: pcm027: support for pcm990 baseboard for phyCORE-PXA270
[ARM] 4746/1: pcm027: network support for phyCORE-PXA270
[ARM] 4745/1: pcm027: default configuration
[ARM] 4744/1: pcm027: add support for phyCORE-PXA270 CPU module
[NET] smc91x: Make smc91x use IRQ resource trigger flags
[ARM] pxa: add default config for littleton
[ARM] pxa: add basic support for Littleton (PXA3xx Form Factor Platform)
[ARM] 4664/1: Add basic support for HTC Magician PDA phones
[ARM] 4649/1: Base support for pxa-based Toshiba e-series PDAs.
[ARM] pxa: skip registers saving/restoring if entering standby mode
[ARM] pxa: fix PXA27x resume
[ARM] pxa: Avoid fiddling with CKEN register on suspend
[ARM] pxa: Add PXA3 standby code hooked into the IRQ wake scheme
[ARM] pxa: Add zylonite MFP wakeup configurations
[ARM] pxa: program MFPs for low power mode when suspending
[ARM] pxa: make MFP configuration processor independent
[ARM] pxa: remove un-used pxa3xx_mfp_set_xxx() functions
...Conflicts:
arch/arm/mach-pxa/ssp.c
Signed-off-by: Russell King
-
This patch converts mmc to use blk_end_request interfaces.
Related 'uptodate' arguments are converted to 'error'.Cc: Pierre Ossman
Signed-off-by: Kiyoshi Ueda
Signed-off-by: Jun'ichi Nomura
Signed-off-by: Jens Axboe -
Move the tps65010 header file from the OMAP arch directory to the
more generic directory, and remove the spurious
dependency of this driver on OMAP.Signed-off-by: David Brownell
Signed-off-by: Jean Delvare
26 Jan, 2008
3 commits
-
This patchis to add the first mmc controller support for pxa3xx.
It's valid for pxa3[0|1|2]0.On zylonite, the first controller supports two slots, this patch
only support the first one right now.Signed-off-by: Bridge Wu
Signed-off-by: Russell King -
This patch is to move pxamci DMA specific code to corresponding
platform layer because using DRCMRRXMMC/DRCMRTXMMC in pxamci.c makes
the driver code dedicated to platform which is not extensible.It is applicable to all pxa platforms.
Signed-off-by: Bridge Wu
Signed-off-by: Russell King -
pxa3[0|1]0 mmc controller can support 26MHz clock mode, they support
SD spec 1.1 and MMC spec 4.0 which specify high speed mode. So host
caps will include MMC_CAP_MMC_HIGHSPEED and MMC_CAP_SD_HIGHSPEED for
pxa3[0|1]0.This patch is to add 26MHz support for them. pxa host clock will be
set to 26MHz mode when the card supported max clock rate is higher
than or equal to 26MHz.Signed-off-by: Bridge Wu
Acked-by: Pierre Ossman
Signed-off-by: Russell King
13 Dec, 2007
4 commits
-
The JMicron JMB38x chip doesn't support transfers that aren't 32-bit
aligned (both size and start address). It also doesn't like switching
between PIO and DMA mode, so it needs to be reset after each request.Signed-off-by: Pierre Ossman
-
Some controllers have been designed on the assumption that all transfers
will be 32-bit aligned, both in start address and in size. This is not a
guarantee the SDHCI specification provides and not one we can provide.Revert back to PIO for individual requests in order to work around the
hardware bug.Signed-off-by: Pierre Ossman
-
We support 2.0 controllers, even though we don't use anything in the new
feature set.Signed-off-by: Pierre Ossman
-
Add a comment for each quirk to describe what it does and why.
Signed-off-by: Pierre Ossman
06 Dec, 2007
1 commit
-
Given the patch which simplifies the spi_sync calling convention, this one
updates the callers of that routine which tried using it according to the
previous specification. (Most didn't.)Signed-off-by: Marc Pignat
Signed-off-by: David Brownell
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
30 Nov, 2007
1 commit
-
This also fixes a sparse warning about different signedness.
Only compile tested, because i do not have the hardware.Signed-off-by: Andre Haupt
Acked-by: Nicolas Pitre
Signed-off-by: Pierre Ossman
27 Nov, 2007
1 commit
-
mmc_init_queue only initializes the scatterlists with sg_init_table()
when using a bounce buffer. This leads to a BUG() when CONFIG_DEBUG_SG
is set.Signed-off-by: Haavard Skinnemoen
Signed-off-by: Jens Axboe
22 Nov, 2007
3 commits
-
Move the code which marks the minor number as free to mmc_blk_put() so
that it happens on the final close() (or removal), instead of doing it
at removal even when the device is still logically open.Signed-off-by: David Woodhouse
Signed-off-by: Pierre Ossman -
It is possible to handle arbitrary block sizes with tifm card reader by
conditionally switching to PIO in case such block has to be delivered. At
the beginning of each request, DMA is either disabled (non-power-of-2 block
size) or set to load time user preference.Signed-off-by: Alex Dubov
Signed-off-by: Pierre Ossman -
Some cards have been reported to signal that they're ready prematurely.
Checking both the busy bit and card state solves the issue.Signed-off-by: Pierre Ossman
10 Nov, 2007
1 commit
-
Signed-off-by: Rolf Eike Beer
Signed-off-by: Pierre Ossman
08 Nov, 2007
1 commit
-
Commit 45711f1a ("[SG] Update drivers to use sg helpers") had the
following bogus change in drivers/mmc/card/queue.c:> - src_buf = page_address(src->page) + src->offset;
> + src_buf = sg_virt(dst);(Notice that "src" is converted to "dst"). Turn this "dst" back into
the intended "src".Signed-off-by: Roland Dreier
Tested-by: Romano Giannetti
Signed-off-by: Jens Axboe
02 Nov, 2007
1 commit
-
Not architecture specific code should not #include .
This patch therefore either replaces them with
#include or simply removes them if they were
unused.Signed-off-by: Adrian Bunk
Signed-off-by: Jens Axboe
31 Oct, 2007
1 commit
-
Fix:
WARNING: at arch/arm/mach-pxa/clock.c:69 clk_disable()
[] (dump_stack+0x0/0x14) from [] (clk_disable+0x34/0xa0)
[] (clk_disable+0x0/0xa0) from [] (pxamci_set_ios+0x74/0xf0)
[] (pxamci_set_ios+0x0/0xf0) from [] (mmc_power_off+0x90/0x9c)
[] (mmc_power_off+0x0/0x9c) from [] (mmc_start_host+0x18/0x28)
[] (mmc_start_host+0x0/0x28) from [] (mmc_add_host+0xe8/0x104)
[] (mmc_add_host+0x0/0x104) from [] (pxamci_probe+0x24c/0x2f4)
[] (pxamci_probe+0x0/0x2f4) from [] (platform_drv_probe+0x20/0x24)
...Signed-off-by: Russell King
29 Oct, 2007
1 commit
-
The previous change omits "data->" prefix
in the "data->sg" case. This change fixes kernel
compilation.Signed-off-by: Pavel Pisa
drivers/mmc/host/imxmmc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Signed-off-by: Jens Axboe
28 Oct, 2007
1 commit
-
#include
is an odd thing to do...Signed-off-by: Al Viro
Signed-off-by: Linus Torvalds
27 Oct, 2007
4 commits
-
Patch 49dce689ad4ef0fd1f970ef762168e4bd46f69a3 changed the sysfs data
structures for SPI in a way which broke the MMC-over-SPI host driver.This patch fixes that regression by changing the scheme used to keep
from knowingly trying to use a shared bus segment, and updates the
adjacent comments slightly to better explain the issue.Signed-off-by: David Brownell
Signed-off-by: Pierre Ossman -
Use the more generic byte swapping macros instead of the socket variants.
Signed-off-by: Pierre Ossman
-
MMC over SPI sends the CID and CSD registers as data, not responses,
which means that the host driver won't do the necessary byte flipping
for us.Signed-off-by: Pierre Ossman
-
The flags parameter got removed in a previous commit, but some
references were overlooked.Signed-off-by: Pierre Ossman
24 Oct, 2007
3 commits
-
Do a full scan of the directory to try and be a bit more proactive,
instead of waiting for things to break.Signed-off-by: Jens Axboe
-
Commits
58b053e4ce9d2fc3023645c1b96e537c72aa8d9a ("Update arch/ to use sg helpers")
45711f1af6eff1a6d010703b4862e0d2b9afd056 ("[SG] Update drivers to use sg helpers")
fa05f1286be25a8ce915c5dd492aea61126b3f33 ("Update net/ to use sg helpers")converted many files to use the scatter gather helpers without ensuring
that the necessary headerfile is included. This
happened to work for ia64, powerpc, sparc64 and x86 because they
happened to drag in that file via their .On most of the others this probably broke.
Instead of increasing the header file spider web I choose to include
directly into the affectes files.Signed-off-by: Ralf Baechle
Signed-off-by: Jens Axboe
Signed-off-by: Linus Torvalds -
Signed-off-by: Emil Medve
Signed-off-by: Jens Axboe
23 Oct, 2007
1 commit
-
Signed-off-by: Jens Axboe
18 Oct, 2007
1 commit
-
A small MMC driver cleanup.
Use the defined AT91_MCI_ERRORS in at91_mci_completed_command() instead
of specifying all the error bits individually.Signed-off-by: Andrew Victor
Signed-off-by: Nicolas Ferre
Signed-off-by: Pierre Ossman