public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [GIT PULL] MMC update
@ 2006-12-05 10:00 Pierre Ossman
  0 siblings, 0 replies; 7+ messages in thread
From: Pierre Ossman @ 2006-12-05 10:00 UTC (permalink / raw)
  To: Linus Torvalds, LKML

Linus, please pull from

        git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus

to receive the following updates:

 drivers/mmc/au1xmmc.c |    2 +-
 drivers/mmc/pxamci.c  |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

Sascha Hauer:
      mmc: pxamci compilation fix

Yoichi Yuasa:
      mmc: fix au1xmmc build error

diff --git a/drivers/mmc/au1xmmc.c b/drivers/mmc/au1xmmc.c
index 447fba5..800527c 100644
--- a/drivers/mmc/au1xmmc.c
+++ b/drivers/mmc/au1xmmc.c
@@ -875,7 +875,7 @@ static void au1xmmc_init_dma(struct au1x
        host->rx_chan = rxchan;
 }

-struct const mmc_host_ops au1xmmc_ops = {
+static const struct mmc_host_ops au1xmmc_ops = {
        .request        = au1xmmc_request,
        .set_ios        = au1xmmc_set_ios,
 };
diff --git a/drivers/mmc/pxamci.c b/drivers/mmc/pxamci.c
index 471e9f4..45a9283 100644
--- a/drivers/mmc/pxamci.c
+++ b/drivers/mmc/pxamci.c
@@ -355,7 +355,7 @@ static int pxamci_get_ro(struct mmc_host
        struct pxamci_host *host = mmc_priv(mmc);

        if (host->pdata && host->pdata->get_ro)
-               return host->pdata->get_ro(mmc->dev);
+               return host->pdata->get_ro(mmc_dev(mmc));
        /* Host doesn't support read only detection so assume writeable */
        return 0;
 }
@@ -383,7 +383,7 @@ static void pxamci_set_ios(struct mmc_ho
                host->power_mode = ios->power_mode;

                if (host->pdata && host->pdata->setpower)
-                       host->pdata->setpower(mmc->dev, ios->vdd);
+                       host->pdata->setpower(mmc_dev(mmc), ios->vdd);

                if (ios->power_mode == MMC_POWER_ON)
                        host->cmdat |= CMDAT_INIT;

-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [GIT PULL] MMC update
@ 2007-11-29 18:17 Pierre Ossman
  0 siblings, 0 replies; 7+ messages in thread
From: Pierre Ossman @ 2007-11-29 18:17 UTC (permalink / raw)
  To: Linus Torvalds, LKML

Linus, please pull from

        git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus

to receive the following updates:

 drivers/mmc/card/sdio_uart.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Andre Haupt (1):
      sdio_uart: fix sign of paramter status in sdio_uart_receive_chars()

diff --git a/drivers/mmc/card/sdio_uart.c b/drivers/mmc/card/sdio_uart.c
index d552de6..eeea84c 100644
--- a/drivers/mmc/card/sdio_uart.c
+++ b/drivers/mmc/card/sdio_uart.c
@@ -386,7 +386,7 @@ static void sdio_uart_stop_rx(struct sdio_uart_port *port)
        sdio_out(port, UART_IER, port->ier);
 }
 
-static void sdio_uart_receive_chars(struct sdio_uart_port *port, int *status)
+static void sdio_uart_receive_chars(struct sdio_uart_port *port, unsigned int *status)
 {
        struct tty_struct *tty = port->tty;
        unsigned int ch, flag;



-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [GIT PULL] MMC update
@ 2007-11-10 11:25 Pierre Ossman
  0 siblings, 0 replies; 7+ messages in thread
From: Pierre Ossman @ 2007-11-10 11:25 UTC (permalink / raw)
  To: Linus Torvalds, LKML

Linus, please pull from

        git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus

to receive the following updates:

 drivers/mmc/host/sdhci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Rolf Eike Beer (1):
      Add missing "\n" to log message

diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 6b80bf7..ff59d2e 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -1301,7 +1301,7 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot)
 
        if ((chip->quirks & SDHCI_QUIRK_BROKEN_DMA) &&
                (host->flags & SDHCI_USE_DMA)) {
-               DBG("Disabling DMA as it is marked broken");
+               DBG("Disabling DMA as it is marked broken\n");
                host->flags &= ~SDHCI_USE_DMA;
        }
 



-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org

^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [GIT PULL] MMC update
@ 2006-12-01 20:02 Pierre Ossman
  2006-12-02  0:39 ` Linus Torvalds
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Ossman @ 2006-12-01 20:02 UTC (permalink / raw)
  To: Linus Torvalds, LKML

Linus, please pull from

        git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git for-linus

to receive the following updates:

 drivers/mmc/Kconfig          |    2
 drivers/mmc/at91_mci.c       |    2
 drivers/mmc/au1xmmc.c        |    2
 drivers/mmc/imxmmc.c         |    2
 drivers/mmc/mmc.c            |  294 +++++++++++++++++++++++++++++++++++++++---
 drivers/mmc/mmc_block.c      |   15 +-
 drivers/mmc/mmc_queue.c      |   63 +++++----
 drivers/mmc/mmc_queue.h      |    3
 drivers/mmc/mmci.c           |    2
 drivers/mmc/omap.c           |  272 ++++++++++++++++++++++++---------------
 drivers/mmc/omap.h           |   55 --------
 drivers/mmc/pxamci.c         |    2
 drivers/mmc/sdhci.c          |   17 ++
 drivers/mmc/sdhci.h          |    2
 drivers/mmc/wbsd.c           |    2
 include/linux/mmc/card.h     |   13 ++
 include/linux/mmc/protocol.h |   74 ++++++++++-
 17 files changed, 593 insertions(+), 229 deletions(-)

Christoph Hellwig:
      mmc: remove kernel_thread()

David Brownell:
      mmc: constify mmc_host_ops vectors

Juha Yrjola juha.yrjola:
      Replace base with virt_base and phys_base
      Change OMAP_MMC_{READ,WRITE} macros to use the host pointer
      Move register definitions away from the header file
      Platform device error handling cleanup
      Make general code cleanups

Marcin Juszkiewicz:
      trivial change for mmc/Kconfig: MMC_PXA does not mean only PXA255

Philip Langdale:
      mmc: Add support for mmc v4 high speed mode
      mmc: Add support for mmc v4 wide-bus modes

Pierre Ossman:
      mmc: Fix mmc_delay() function
      mmc: Support for high speed SD cards
      mmc: sdhci high speed support
      mmc: Flush block queue when removing card
      mmc: correct request error handling

Tony Lindgren tony:
      Add MMC_CAP_{MULTIWRITE,BYTEBLOCK} flags


-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [GIT PULL] MMC update
@ 2006-11-09  8:28 Pierre Ossman
  0 siblings, 0 replies; 7+ messages in thread
From: Pierre Ossman @ 2006-11-09  8:28 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: LKML

Linus, please pull from

        git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc.git
for-linus

to receive the following updates:

 drivers/mmc/mmc.c |   19 +++++++++++++++++--
 1 files changed, 17 insertions(+), 2 deletions(-)

Timo Teras:
      MMC: Poll card status after rescanning cards
      MMC: Do not set unsupported bits in OCR response

diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index ee8863c..766bc54 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -475,7 +475,7 @@ static u32 mmc_select_voltage(struct mmc
        if (bit) {
                bit -= 1;

-               ocr = 3 << bit;
+               ocr &= 3 << bit;

                host->ios.vdd = bit;
                mmc_set_ios(host);
@@ -1178,14 +1178,29 @@ static void mmc_rescan(void *data)
 {
        struct mmc_host *host = data;
        struct list_head *l, *n;
+       unsigned char power_mode;

        mmc_claim_host(host);

-       if (host->ios.power_mode == MMC_POWER_ON)
+       /*
+        * Check for removed cards and newly inserted ones. We check for
+        * removed cards first so we can intelligently re-select the VDD.
+        */
+       power_mode = host->ios.power_mode;
+       if (power_mode == MMC_POWER_ON)
                mmc_check_cards(host);

        mmc_setup(host);

+       /*
+        * Some broken cards process CMD1 even in stand-by state. There is
+        * no reply, but an ILLEGAL_COMMAND error is cached and returned
+        * after next command. We poll for card status here to clear any
+        * possibly pending error.
+        */
+       if (power_mode == MMC_POWER_ON)
+               mmc_check_cards(host);
+
        if (!list_empty(&host->cards)) {
                /*
                 * (Re-)calculate the fastest clock rate which the

-- 
     -- Pierre Ossman

  Linux kernel, MMC maintainer        http://www.kernel.org
  PulseAudio, core developer          http://pulseaudio.org
  rdesktop, core developer          http://www.rdesktop.org

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-11-29 18:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-05 10:00 [GIT PULL] MMC update Pierre Ossman
  -- strict thread matches above, loose matches on Subject: below --
2007-11-29 18:17 Pierre Ossman
2007-11-10 11:25 Pierre Ossman
2006-12-01 20:02 Pierre Ossman
2006-12-02  0:39 ` Linus Torvalds
2006-12-02 10:12   ` Pierre Ossman
2006-11-09  8:28 Pierre Ossman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox