1. 25 8月, 2013 1 次提交
    • S
      mmc: tmio_mmc_dma: fix PIO fallback on SDHI · f936f9b6
      Sergei Shtylyov 提交于
      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
      162f43e3 (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: NSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
      Acked-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Cc: stable@vger.kernel.org # 3.1+
      Signed-off-by: NChris Ball <cjb@laptop.org>
      f936f9b6
  2. 27 5月, 2013 3 次提交
  3. 21 3月, 2012 1 次提交
  4. 14 2月, 2012 1 次提交
  5. 31 10月, 2011 1 次提交
  6. 21 7月, 2011 4 次提交
  7. 22 6月, 2011 1 次提交
    • A
      net: remove mm.h inclusion from netdevice.h · b7f080cf
      Alexey Dobriyan 提交于
      Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).
      
      To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
      definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
      via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
      Removal of mm.h from scatterlist.h was tried and was found not feasible
      on most archs, so the link was cutoff earlier.
      
      Hope people are OK with tiny include file.
      
      Note, that mm_types.h is still dragged in, but it is a separate story.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b7f080cf
  8. 25 5月, 2011 1 次提交
  9. 27 3月, 2011 1 次提交
  10. 25 3月, 2011 1 次提交
    • G
      mmc: tmio: split core functionality, DMA and MFD glue · b6147490
      Guennadi Liakhovetski 提交于
      TMIO MMC chips contain an SD / SDIO IP core from Panasonic, similar to
      the one, used in MN5774 and other MN57xx controllers. These IP cores are
      included in many multifunction devices, in sh-mobile chips from Renesas,
      in the latter case they can also use DMA. Some sh-mobile implementations
      also have some other specialities, that MFD-based solutions don't have.
      This makes supporting all these features in a monolithic driver inconveniet
      and error-prone. This patch splits the driver into 3 parts: the core,
      the MFD glue and the DMA support. In case of a modular build, two modules
      will be built: mmc_tmio_core and mmc_tmio.
      Signed-off-by: NGuennadi Liakhovetski <g.liakhovetski@gmx.de>
      Acked-by: NPaul Mundt <lethal@linux-sh.org>
      Signed-off-by: NChris Ball <cjb@laptop.org>
      b6147490