1. 09 1月, 2011 1 次提交
  2. 23 10月, 2010 1 次提交
  3. 26 7月, 2010 2 次提交
  4. 28 5月, 2010 1 次提交
  5. 17 5月, 2010 1 次提交
    • D
      ARM: mx3: Fix a race condition in mxcmmc · 4a31f2ef
      Daniel Mack 提交于
      From cefcdab08d1c9636c4a7290bc2bbe937d051bce4 Mon Sep 17 00:00:00 2001
      From: Volker Ernst <volker.ernst@txtr.com>
      Date: Mon, 26 Apr 2010 22:51:07 +0200
      Subject: [PATCH] ARM: mx3: Fix a race condition in mxcmmc
      
      This fixes a race condition regarding interrupt bits in the SDHC
      controller driver code.
      
      In case of PIO-transfer it does not clear SDHC-status bit#11/12
      in the INT-handler anymore. INT-handler might be called during
      an ongoing PIO-data-transfer (with some other INT-flag set) and
      PIO-transfer depends on these bits being set to detect the end
      of the data-transfer. This also means that at the end of PIO-
      transfer that PIO-software has to clear these bits itself.
      
      However in case of DMA-transfer these bits have to be cleared
      in the INT-handler, because they are used to generate INTs then.
      
      Works solid, no more problems here, can transfer big files.
      Signed-off-by: NVolker Ernst <volker.ernst@txtr.com>
      Acked-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Andy Green <andy@warmcat.com>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      4a31f2ef
  6. 14 4月, 2010 3 次提交
    • D
      ARM: MXC: mxcmmc: work around a bug in the SDHC busy line handling · 3fcb027d
      Daniel Mack 提交于
      MX3 SoCs have a silicon bug which corrupts CRC calculation of
      multi-block transfers when connected SDIO peripheral doesn't drive the
      BUSY line as required by the specs.
      
      One way to prevent this is to only allow 1-bit transfers.
      
      Another way is playing tricks with the DMA engine, but this isn't
      mainline yet. So for now, we live with the performance drawback of 1-bit
      transfers until a nicer solution is found.
      
      This patch introduces a new host controller callback 'init_card' which
      is for now only called from mmc_sdio_init_card().
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Volker Ernst <volker.ernst@txtr.com>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Michał Mirosław <mirqus@gmail.com>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      3fcb027d
    • D
      ARM: MXC: mxcmmc: Teach the driver SDIO operations · f441b993
      Daniel Mack 提交于
      Successfully tested on MX31 hardware using libertas SDIO peripherals.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Volker Ernst <volker.ernst@txtr.com>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Michał Mirosław <mirqus@gmail.com>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      f441b993
    • D
      ARM: MXC: mxcmmc: misc cleanups · 4725f6f1
      Daniel Mack 提交于
      Be more verbose on error messages and add one debug message.
      Signed-off-by: NDaniel Mack <daniel@caiaq.de>
      Cc: Sascha Hauer <s.hauer@pengutronix.de>
      Cc: Dan Williams <dan.j.williams@intel.com>
      Cc: Volker Ernst <volker.ernst@txtr.com>
      Cc: Jiri Kosina <jkosina@suse.cz>
      Cc: Michał Mirosław <mirqus@gmail.com>
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      4725f6f1
  7. 13 3月, 2010 1 次提交
  8. 09 2月, 2010 1 次提交
  9. 16 12月, 2009 1 次提交
  10. 21 9月, 2009 1 次提交
  11. 14 6月, 2009 1 次提交
  12. 04 6月, 2009 3 次提交
  13. 13 3月, 2009 2 次提交
  14. 03 2月, 2009 1 次提交