1. 13 5月, 2016 4 次提交
  2. 09 3月, 2016 1 次提交
    • L
      dma, mm/pat: Rename dma_*_writecombine() to dma_*_wc() · f6e45661
      Luis R. Rodriguez 提交于
      Rename dma_*_writecombine() to dma_*_wc(), so that the naming
      is coherent across the various write-combining APIs. Keep the
      old names for compatibility for a while, these can be removed
      at a later time. A guard is left to enable backporting of the
      rename, and later remove of the old mapping defines seemlessly.
      
      Build tested successfully with allmodconfig.
      
      The following Coccinelle SmPL patch was used for this simple
      transformation:
      
      @ rename_dma_alloc_writecombine @
      expression dev, size, dma_addr, gfp;
      @@
      
      -dma_alloc_writecombine(dev, size, dma_addr, gfp)
      +dma_alloc_wc(dev, size, dma_addr, gfp)
      
      @ rename_dma_free_writecombine @
      expression dev, size, cpu_addr, dma_addr;
      @@
      
      -dma_free_writecombine(dev, size, cpu_addr, dma_addr)
      +dma_free_wc(dev, size, cpu_addr, dma_addr)
      
      @ rename_dma_mmap_writecombine @
      expression dev, vma, cpu_addr, dma_addr, size;
      @@
      
      -dma_mmap_writecombine(dev, vma, cpu_addr, dma_addr, size)
      +dma_mmap_wc(dev, vma, cpu_addr, dma_addr, size)
      
      We also keep the old names as compatibility helpers, and
      guard against their definition to make backporting easier.
      
      Generated-by: Coccinelle SmPL
      Suggested-by: NIngo Molnar <mingo@kernel.org>
      Signed-off-by: NLuis R. Rodriguez <mcgrof@suse.com>
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Thomas Gleixner <tglx@linutronix.de>
      Cc: airlied@linux.ie
      Cc: akpm@linux-foundation.org
      Cc: benh@kernel.crashing.org
      Cc: bhelgaas@google.com
      Cc: bp@suse.de
      Cc: dan.j.williams@intel.com
      Cc: daniel.vetter@ffwll.ch
      Cc: dhowells@redhat.com
      Cc: julia.lawall@lip6.fr
      Cc: konrad.wilk@oracle.com
      Cc: linux-fbdev@vger.kernel.org
      Cc: linux-pci@vger.kernel.org
      Cc: luto@amacapital.net
      Cc: mst@redhat.com
      Cc: tomi.valkeinen@ti.com
      Cc: toshi.kani@hp.com
      Cc: vinod.koul@intel.com
      Cc: xen-devel@lists.xensource.com
      Link: http://lkml.kernel.org/r/1453516462-4844-1-git-send-email-mcgrof@do-not-panic.comSigned-off-by: NIngo Molnar <mingo@kernel.org>
      f6e45661
  3. 22 2月, 2016 2 次提交
  4. 05 2月, 2016 1 次提交
  5. 04 2月, 2016 1 次提交
    • N
      ASoC: fsl-asoc-card: Don't add DAPM routes for ASRC if it doesn't exist · 089dfaf7
      Nicolin Chen 提交于
      There are a pair of warnings when ASRC is absent in the DTB:
        fsl-asoc-card sound: ASoC: no source widget found for ASRC-Playback
        fsl-asoc-card sound: ASoC: Failed to add route ASRC-Playback -> direct -> CPU-Playback
        fsl-asoc-card sound: ASoC: no sink widget found for ASRC-Capture
        fsl-asoc-card sound: ASoC: Failed to add route CPU-Capture -> direct -> ASRC-Capture
      
      This is because the driver is still trying to add DAPM routes for ASRC
      even if it doesn't exist on that platform.
      
      The warnings are harmless but it might be annoying. So this patch drops
      the DAPM routes of ASRC when it's absent in the DAI link.
      Signed-off-by: NNicolin Chen <nicolinc@nvidia.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      089dfaf7
  6. 27 1月, 2016 1 次提交
  7. 25 1月, 2016 1 次提交
  8. 23 1月, 2016 2 次提交
  9. 10 1月, 2016 2 次提交
  10. 05 1月, 2016 1 次提交
  11. 25 12月, 2015 1 次提交
  12. 23 12月, 2015 3 次提交
  13. 18 12月, 2015 1 次提交
    • Z
      ASoC: fsl_sai: fix no frame clk in master mode · 3e3f8bd5
      Zidan Wang 提交于
      After several open/close sai test with ctrl+c, there will be
      I/O error. The SAI can't work anymore, can't recover. There
      will be no frame clock. With adding the software reset in
      trigger stop, the issue can be fixed.
      
      This is a hardware bug/errata and reset is the only option.
      
      According to the reference manual, the software reset doesn't
      reset any control register but only internal hardware logics
      such as bit clock generator, status flags, and FIFO pointers.
      (Our purpose is just to reset the clock generator while the
      software reset is the only way to do that.)
      
      Since slave mode doesn't use the clock generator, only apply
      the reset procedure to the master mode.
      
      For asynchronous mode, TX will not be reset when RX is still
      running. In this case, i can't reproduce this issue.
      Signed-off-by: NZidan Wang <zidan.wang@freescale.com>
      Acked-by: NNicolin Chen <nicoleotsuka@gmail.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      3e3f8bd5
  14. 09 12月, 2015 1 次提交
    • A
      ASoC: fsl: use correct format string for dma_addr_t · 34e684fa
      Arnd Bergmann 提交于
      We get a warning for the imx-pcm-fiq driver when CONFIG_LPAE
      is enabled on ARM, because dma_addr_t is 64-bit then:
      
      sound/soc/fsl/imx-pcm-fiq.c: In function 'snd_imx_pcm_mmap':
      sound/soc/fsl/imx-pcm-fiq.c:223:107: warning: format '%x' expects argument of type 'unsigned int', but argument 6 has type 'dma_addr_t {aka long long unsigned int}' [-Wformat=]
      
      This changes the printk to use the correct format string for
      printing a dma_addr_t.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      34e684fa
  15. 25 11月, 2015 6 次提交
  16. 21 11月, 2015 1 次提交
  17. 19 11月, 2015 1 次提交
    • M
      ASoC: Vendor drivers get a link's runtime by snd_soc_get_pcm_runtime() · 5015920a
      Mengdong Lin 提交于
      Vendor drivers no longer access a DAI link's runtime by the link index
      but by matching the link name via snd_soc_get_pcm_runtime(). We assume
      each DAI link has a unique name.
      
      This is preparation for changing runtimes from an array to a list later.
      
      Vendor drivers changed:
      sound/soc/fsl/fsl-asoc-card.c
      sound/soc/fsl/imx-wm8962.c
      sound/soc/pxa/mioa701_wm9713.c
      sound/soc/samsung/bells.c
      sound/soc/samsung/littlemill.c
      sound/soc/samsung/odroidx2_max98090.c
      sound/soc/samsung/snow.c
      sound/soc/samsung/speyside.c
      sound/soc/samsung/tobermory.c
      sound/soc/tegra/tegra_wm8903
      Signed-off-by: NMengdong Lin <mengdong.lin@linux.intel.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      5015920a
  18. 18 11月, 2015 2 次提交
  19. 16 11月, 2015 4 次提交
  20. 26 10月, 2015 2 次提交
  21. 23 10月, 2015 2 次提交