<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/drivers/mmc, branch v3.11.9</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/drivers/mmc?h=v3.11.9</id>
<link rel='self' href='https://git.amat.us/linux/atom/drivers/mmc?h=v3.11.9'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2013-10-14T01:14:32Z</updated>
<entry>
<title>mmc: fix null pointer use in mmc_blk_remove_req</title>
<updated>2013-10-14T01:14:32Z</updated>
<author>
<name>Franck Jullien</name>
<email>franck.jullien@gmail.com</email>
</author>
<published>2013-07-24T13:17:48Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4bb5b1a014026ff17f88e0cbb9e21fb6a0869e6d'/>
<id>urn:sha1:4bb5b1a014026ff17f88e0cbb9e21fb6a0869e6d</id>
<content type='text'>
commit 8efb83a2f8518a6ffcc074177f8d659c5165ef37 upstream.

A previous commit (fdfa20c1631210d0) reordered the shutdown sequence
in mmc_blk_remove_req. However, mmc_cleanup_queue is now called before
we get the card pointer, and mmc_cleanup_queue sets mq-&gt;card to NULL.

This patch moves the card pointer assignment before mmc_cleanup_queue.

Signed-off-by: Franck Jullien &lt;franck.jullien@gmail.com&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
Cc: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>mmc: tmio_mmc_dma: fix PIO fallback on SDHI</title>
<updated>2013-09-27T00:21:58Z</updated>
<author>
<name>Sergei Shtylyov</name>
<email>sergei.shtylyov@cogentembedded.com</email>
</author>
<published>2013-08-25T03:38:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4963c59acdce47f2b15c49c58a8579f66cfa3ea7'/>
<id>urn:sha1:4963c59acdce47f2b15c49c58a8579f66cfa3ea7</id>
<content type='text'>
commit f936f9b67b7f8c2eae01dd303a0e90bd777c4679 upstream.

I'm testing SH-Mobile SDHI driver in DMA mode with  a new DMA controller  using
'bonnie++' and getting DMA error after which the tmio_mmc_dma.c code falls back
to PIO but all commands time out after that.  It turned out that the fallback
code calls tmio_mmc_enable_dma() with RX/TX channels already freed and pointers
to them cleared, so that the function bails out early instead  of clearing the
DMA bit in the CTL_DMA_ENABLE register. The regression was introduced by commit
162f43e31c5a376ec16336e5d0ac973373d54c89 (mmc: tmio: fix a deadlock).
Moving tmio_mmc_enable_dma() calls to the top of the PIO fallback code in
tmio_mmc_start_dma_{rx|tx}() helps.

Signed-off-by: Sergei Shtylyov &lt;sergei.shtylyov@cogentembedded.com&gt;
Acked-by: Guennadi Liakhovetski &lt;g.liakhovetski@gmx.de&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;

</content>
</entry>
<entry>
<title>ARM: pxa: propagate errors from regulator_enable() to pxamci</title>
<updated>2013-07-23T19:15:15Z</updated>
<author>
<name>Arnd Bergmann</name>
<email>arnd@arndb.de</email>
</author>
<published>2013-07-05T15:51:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=a829abf8daa2dcf8223a9284b76d221e61130e13'/>
<id>urn:sha1:a829abf8daa2dcf8223a9284b76d221e61130e13</id>
<content type='text'>
The em_x270_mci_setpower() and em_x270_usb_hub_init() functions
call regulator_enable(), which may return an error that must
be checked.

This changes the em_x270_usb_hub_init() function to bail out
if it fails, and changes the pxamci_platform_data-&gt;setpower
callback so that the a failed em_x270_mci_setpower call
can be propagated by the pxamci driver into the mmc core.

Signed-off-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Cc: Mike Rapoport &lt;mike@compulab.co.il&gt;
Cc: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Cc: Mark Brown &lt;broonie@opensource.wolfsonmicro.com&gt;
Cc: Haojian Zhuang &lt;haojian.zhuang@gmail.com&gt;
Acked-by: Chris Ball &lt;cjb@laptop.org&gt;
[olof: fixed order of regulator_enable() and test in em_x270_usb_hub_init]
Signed-off-by: Olof Johansson &lt;olof@lixom.net&gt;
</content>
</entry>
<entry>
<title>Merge tag 'mmc-updates-for-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc</title>
<updated>2013-07-10T18:16:00Z</updated>
<author>
<name>Linus Torvalds</name>
<email>torvalds@linux-foundation.org</email>
</author>
<published>2013-07-10T18:16:00Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=bfffbea1aaeeb1eb6500c83ff9653416daa5b490'/>
<id>urn:sha1:bfffbea1aaeeb1eb6500c83ff9653416daa5b490</id>
<content type='text'>
Pull MMC updates from Chris Ball:
 "MMC highlights for 3.11:

  Core:
   - Add support for eMMC 5.1 devices
   - Add MMC_CAP_AGGRESSIVE_PM capability for aggressive power
     management of eMMC/SD between requests, using runtime PM
   - Add an ioctl to perform the eMMC 4.5 Sanitize command.  Sample code
     at:

       git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc-utils.git

  Drivers:
   - dw_mmc: Add support for Rockchip's Cortex-A9 SoCs
   - dw_mmc: Add support for Altera SoCFPGAs
   - sdhci-esdhc-imx: Add support for 8-bit bus width, non-removable
     cards
   - sdhci-bcm-kona: New driver for Broadcom Kona (281xx) SoCs
   - sdhi/tmio: Add DT DMA support"

* tag 'mmc-updates-for-3.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (87 commits)
  mmc: bcm281xx SDHCI driver
  mmc: sdhci: add card_event callback to sdhci
  mmc: core: Fixup Oops for SDIO shutdown
  mmc: sdhci-pci: add another device id
  mmc: esdhc: Fix bug when writing to SDHCI_HOST_CONTROL register
  mmc: esdhc: Add support for 8-bit bus width and non-removable card
  mmc: core: production year for eMMC 4.41 and later
  mmc: omap: remove unnecessary #if 0's
  mmc: sdhci: fix ctrl_2 on super-speed selection
  mmc: dw_mmc-pltfm: add Rockchip variant
  mmc: dw_mmc-pltfm: move probe and remove below dt match table
  mmc: dw_mmc-pltfm: remove static from dw_mci_pltfm_remove
  mmc: sdhci-acpi: add support for eMMC hardware reset for HID 80860F14
  mmc: sdhci-pci: add support for eMMC hardware reset for BYT eMMC.
  mmc: dw_mmc: Add support DW SD/MMC driver on SOCFPGA
  mmc: sdhci: fix caps2 for HS200
  sdhci-pxav3: Fix runtime PM initialization
  mmc: core: Add DT-bindings for MMC_CAP2_FULL_PWR_CYCLE
  mmc: core: Invent MMC_CAP2_FULL_PWR_CYCLE
  mmc: core: Enable power_off_notify for eMMC shutdown sequence
  ...
</content>
</entry>
<entry>
<title>mmc: bcm281xx SDHCI driver</title>
<updated>2013-07-05T17:00:31Z</updated>
<author>
<name>Christian Daudt</name>
<email>csd@broadcom.com</email>
</author>
<published>2013-06-20T21:26:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=01ebea1b411aafc8eab440bf1d2037f01bbed99b'/>
<id>urn:sha1:01ebea1b411aafc8eab440bf1d2037f01bbed99b</id>
<content type='text'>
Add SDHCI driver for the Broadcom 281xx SoCs.

Still missing:
 - power managemement

Signed-off-by: Christian Daudt &lt;csd@broadcom.com&gt;
Acked-by: Arnd Bergmann &lt;arnd@arndb.de&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
</content>
</entry>
<entry>
<title>mmc: sdhci: add card_event callback to sdhci</title>
<updated>2013-07-05T16:59:12Z</updated>
<author>
<name>Christian Daudt</name>
<email>csd@broadcom.com</email>
</author>
<published>2013-06-20T21:26:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=722e1280c932dd42c474390482429ce12aff9031'/>
<id>urn:sha1:722e1280c932dd42c474390482429ce12aff9031</id>
<content type='text'>
Add a card_event callback to sdhci so that clients can provide their
own card_event to be called when card_detect is triggered.

Signed-off-by: Christian Daudt &lt;csd@broadcom.com&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
</content>
</entry>
<entry>
<title>mmc: core: Fixup Oops for SDIO shutdown</title>
<updated>2013-07-05T16:51:22Z</updated>
<author>
<name>Ulf Hansson</name>
<email>ulf.hansson@linaro.org</email>
</author>
<published>2013-07-02T10:53:01Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=203bb5af65d4edaf600d75130438c0c512b05986'/>
<id>urn:sha1:203bb5af65d4edaf600d75130438c0c512b05986</id>
<content type='text'>
Commit "mmc: core: Handle card shutdown from mmc_bus" introduced an
Oops in the shutdown sequence for SDIO.

The drv pointer, does not exist for SDIO since the probing of the SDIO
card from the mmc_bus perspective is expected to fail by returning
-ENODEV.

This patch adds the proper check for the pointer before calling it.

Signed-off-by: Ulf Hansson &lt;ulf.hansson@linaro.org&gt;
Reported-by: Stephen Warren &lt;swarren@wwwdotorg.org&gt;
Reported-by: Tuomas Tynkkynen &lt;ttynkkynen@nvidia.com&gt;
Tested-by: Tuomas Tynkkynen &lt;ttynkkynen@nvidia.com&gt;
Acked-by: Jaehoon Chung &lt;jh80.chung@samsung.com&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
</content>
</entry>
<entry>
<title>mmc: sdhci-pci: add another device id</title>
<updated>2013-07-05T16:50:31Z</updated>
<author>
<name>Adrian Hunter</name>
<email>adrian.hunter@intel.com</email>
</author>
<published>2013-06-20T09:57:59Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=30d025c0f7234409e8ee1bf22d1729055e640ec6'/>
<id>urn:sha1:30d025c0f7234409e8ee1bf22d1729055e640ec6</id>
<content type='text'>
Add another PCI device id for an eMMC host controller.

Signed-off-by: Adrian Hunter &lt;adrian.hunter@intel.com&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
</content>
</entry>
<entry>
<title>mmc: esdhc: Fix bug when writing to SDHCI_HOST_CONTROL register</title>
<updated>2013-07-05T16:48:35Z</updated>
<author>
<name>Oded Gabbay</name>
<email>ogabbay@advaoptical.com</email>
</author>
<published>2013-07-05T16:48:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=dcaff04d36fd7f22973bf4fc108912ce19bcef4f'/>
<id>urn:sha1:dcaff04d36fd7f22973bf4fc108912ce19bcef4f</id>
<content type='text'>
The P2020 has a non-standard implementation of the SDHCI_HOST_CONTROL
register. This patch adds a QUIRK in the SDHCI header to signal that
a host controller has a non-standard SDHCI_HOST_CONTROL register. The
patch adds a check to the function esdhc_writeb in file
sdhci-of-esdhc.c, where it checks if the write is done to the
SDHCI_HOST_CONTROL register and th host has the above mentioned QUIRK,
then the function simply returns instead of writing to the register.
The patch also detects if the processor is P2020 (by looking in dev
tree) and if so, adds the QUIRK to the host-&gt;quirk2

Signed-off-by: Oded Gabbay &lt;ogabbay@advaoptical.com&gt;
Reviewed-by: Anton Vorontsov &lt;anton@enomsg.org&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
</content>
</entry>
<entry>
<title>mmc: esdhc: Add support for 8-bit bus width and non-removable card</title>
<updated>2013-07-05T16:46:30Z</updated>
<author>
<name>Oded Gabbay</name>
<email>ogabbay@advaoptical.com</email>
</author>
<published>2013-06-27T16:00:05Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=66b50a00992dca97b442e016a9b2dba892e2df61'/>
<id>urn:sha1:66b50a00992dca97b442e016a9b2dba892e2df61</id>
<content type='text'>
This patch adds support of connecting an MMC media using an 8-bit
bus width connection to Freescale's P2020 H/W SDHC controller. During
the probe function, the generic function mmc_of_parse is called to
detect whether the controller is configured with 8-bit bus width.

Also, the generic function detects if the non-removable property is
set in the device tree.  The function esdhc_pltfm_bus_width was added
because the bus width configuration is platform specific.

Signed-off-by: Oded Gabbay &lt;ogabbay@advaoptical.com&gt;
Reviewed-by: Anton Vorontsov &lt;anton@enomsg.org&gt;
Signed-off-by: Chris Ball &lt;cjb@laptop.org&gt;
</content>
</entry>
</feed>
