22 May, 2008

1 commit


20 May, 2008

1 commit


17 May, 2008

1 commit


15 May, 2008

2 commits

  • A dummy driver that performs a series of requests that are often mis-
    handled by host drivers.

    Signed-off-by: Pierre Ossman

    Pierre Ossman
     
  • This patch fixes error:

    drivers/mmc/host/omap.c: In function 'mmc_omap_get_dma_channel':
    drivers/mmc/host/omap.c:1038: error: called object 'dev_name' is not a function

    Commit 06916639e2fed9ee475efef2747a1b7429f8fe76 adds a function
    called dev_name. This will cause a name conflict as dev_dbg calls
    dev_name(((host->mmc)->parent)).

    This same issue should not affect other drivers as they don't seem
    to use dev_name with dev_dbg.

    Thanks to Paul Walmsley for figuring this one out.

    Cc: Paul Walmsley
    Signed-off-by: Tony Lindgren
    Signed-off-by: Pierre Ossman

    Tony Lindgren
     

13 May, 2008

1 commit

  • Otherwise it can only take the values 0/-1 which doesn't seem to
    have been intended.

    drivers/mmc/host/sdhci.h:190:20: error: dubious one-bit signed bitfield

    Signed-off-by: Harvey Harrison
    Acked-by: Pierre Ossman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     

04 May, 2008

1 commit

  • This fixes some two minor clk issues.

    The first is a comparison where a byte will probably wrap around to 0 instead of being saturated to 255, shouldn't be triggered very often but need fixing.

    The second is an attempt by the driver to adjust MCLK down to the maximum frequency according to the spec, so we don't accidentally overclock the PL18x block. None of the mach-{versatile|integrator|lh7a40x} that use it in-tree seem to have a problem with this (all are well below 100MHz, typically 33MHz), but some day there will be a problem.

    This is not applied on top of the earlier mmci patch for race condition but rather a clean 2.6.25, but I guess it applies without major protests anyway.

    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     

30 Apr, 2008

1 commit

  • * master.kernel.org:/home/rmk/linux-2.6-arm: (26 commits)
    [ARM] pxa: fix 1c104e0e4f6ab396960c058e95e18bdedcac945b
    [ARM] serial: s3c2410: platform_get_irq() may return signed unnoticed
    [ARM] am79c961a: platform_get_irq() may return signed unnoticed
    [ARM] Feroceon: Feroceon-specific WA-cache compatible {copy,clear}_user_page()
    [ARM] Feroceon: fix function alignment in proc-feroceon.S
    [ARM] Orion: catch a couple more alternative spellings of PCIe
    [ARM] Orion: fix orion-ehci platform resource end addresses
    [ARM] Orion: fix ->map_irq() PCIe bus number check
    [ARM] Orion: fix ioremap() optimization
    [ARM] feroceon: remove CONFIG_CPU_CACHE_ROUND_ROBIN check
    [ARM] feroceon: remove CONFIG_CPU_DCACHE_WRITETHROUGH check
    kprobes/arm: fix decoding of arithmetic immediate instructions
    kprobes/arm: fix cache flush address for instruction stub
    [ARM] 5022/1: Race in ARM MMCI PL18x driver, V2
    [ARM] 5021/1: at91: buildfix for sam9263 + PM
    [ARM] 5018/1: RealView: Fix the ARM11MPCore Oprofile compilation
    [ARM] 5016/1: AT91: typo in mci configuration for at91cap at91sam9263
    [ARM] 5017/1: pxa3xx: Report unsupported wakeup sources in pxa3xx_set_wake()
    [ARM] 5020/1: magician: remove __devinit marker from pasic3_leds_info
    [ARM] 5014/1: Cleanup reset state before entering suspend or resetting.
    ...

    Linus Torvalds
     

29 Apr, 2008

2 commits

  • Signed-off-by: Harvey Harrison
    Cc: David Brownell
    Cc: Tony Jones
    Cc: Pierre Ossman
    Cc: Al Viro
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Harvey Harrison
     
  • Updated version of 4446/1. This also drops the suggested comparison
    of host_remain for == 0, since that doesn't make sense (still works
    for us, too). We have verified that this patch solve race problems
    on atleast 2 archs at high frequencies.

    (Verbatim copy of old patch text below.)

    The patch below fixes a race condition in the ARM MMCI PL18x driver.

    If new data arrives in the FIFO while existing data is being read then
    we get a second iteration of the loop in mmci_pio_read.

    However host->size is not updated until after mmci_pio_read returns,
    so we get count = number of new bytes PLUS number of bytes already
    copied in the first iteration. This results in a FIFO underrun as
    we try and read mode data than is available.

    The fix is to compensating for data read on previous iterations
    when calculating the amount of data in the FIFO.

    Signed-off-by: Linus Walleij
    Signed-off-by: Russell King

    Linus Walleij
     

19 Apr, 2008

26 commits


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

    Kay Sievers
     

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

    Pierre Ossman
     

16 Mar, 2008

1 commit


08 Feb, 2008

1 commit