1. 23 10月, 2013 3 次提交
  2. 22 10月, 2013 4 次提交
  3. 21 10月, 2013 1 次提交
  4. 18 10月, 2013 3 次提交
  5. 17 10月, 2013 2 次提交
  6. 14 10月, 2013 4 次提交
  7. 12 10月, 2013 1 次提交
  8. 10 10月, 2013 2 次提交
    • M
      ASoC: dapm: Run clock and regulator events separately to other supplies · 1dd275b6
      Mark Brown 提交于
      In order to avoid trying to use an external clock or supply for an
      on-chip supply prior to it being enabled move the clock and regulator
      supply events to a separate step in DAPM sequencing from normal supply
      events.
      
      This should have minimal practical impact since these widgets are sorted
      using SND_SOC_NOPM which is a negative value and hence sorted
      separately to any real register writes, though it may be relevant if
      supplies have event callbacks only.
      Signed-off-by: NMark Brown <broonie@linaro.org>
      1dd275b6
    • M
      ASoC: dapm: Use async I/O for DAPM sequences · eb270e98
      Mark Brown 提交于
      Within a DAPM sequence we normally don't care about when exactly a register
      write has completed so long as they happen in the order we requested. This
      means that we can issue most of the writes we do asynchronously which
      should maximise the ability of the underlying frameworks to keep the
      hardware busy, providing a small performance improvement on some systems.
      
      We currently ensure that all writes are completed both when changing to a
      different device and when calling into the regulator and clock frameworks.
      This should ensure that the previous ordering is maintained.
      
      We also ensure that writes are completed prior to calling into widget
      event functions since some event functions implement delays.  This
      should be improved in future so that widgets can disable this sync in
      order to add extra writes.
      Signed-off-by: NMark Brown <broonie@linaro.org>
      eb270e98
  9. 07 10月, 2013 4 次提交
  10. 04 10月, 2013 1 次提交
  11. 03 10月, 2013 3 次提交
  12. 01 10月, 2013 2 次提交
  13. 27 9月, 2013 4 次提交
  14. 26 9月, 2013 3 次提交
    • P
      ASoC: imx-sgtl5000: Fix uninitialized pointer use in error path · 50d4a790
      Philipp Zabel 提交于
      This patch avoids to dereference the uninitialized data pointer if the
      error path is entered before devm_kzalloc is called (or if the allocation
      fails). It fixes the following warning:
      
          sound/soc/fsl/imx-sgtl5000.c: In function 'imx_sgtl5000_probe':
          sound/soc/fsl/imx-sgtl5000.c:175:18: warning: 'data' may be used uninitialized in this function [-Wmaybe-uninitialized]
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      50d4a790
    • P
      ASoC: imx-sgtl5000: do not use devres on a foreign device · a8b22c1c
      Philipp Zabel 提交于
      Calling devm_clk_get with any device pointer other than our own confuses
      devres. Use clk_get instead. This avoids hitting the following warning in
      the imx-sgtl5000 error path:
      
      imx-sgtl5000 sound.12: snd_soc_register_card failed (-517)
      platform sound.12: Driver imx-sgtl5000 requests probe deferral
      ------------[ cut here ]------------
      WARNING: CPU: 0 PID: 75 at drivers/base/dd.c:272 driver_probe_device+0x194/0x218()
      Modules linked in: snd_soc_sgtl5000(+) snd_soc_imx_sgtl5000 coda snd_soc_imx_audmux imx_sdma snd_soc_fsl_spdif snd_soc_fsl_ssi
      CPU: 0 PID: 75 Comm: udevd Not tainted 3.11.0-rc6+ #4682
      Backtrace:
      [<80010bc4>] (dump_backtrace+0x0/0x10c) from [<80010d60>] (show_stack+0x18/0x1c)
       r6:00000110 r5:00000009 r4:00000000 r3:00000000
      [<80010d48>] (show_stack+0x0/0x1c) from [<804f0764>] (dump_stack+0x20/0x28)
      [<804f0744>] (dump_stack+0x0/0x28) from [<8001a4a4>] (warn_slowpath_common+0x6c/0x8c)
      [<8001a438>] (warn_slowpath_common+0x0/0x8c) from [<8001a4e8>] (warn_slowpath_null+0x24/0x2c)
       r8:7f032000 r7:7f02f93c r6:cf8eaa54 r5:cf8eaa20 r4:80728a0c
      [<8001a4c4>] (warn_slowpath_null+0x0/0x2c) from [<80286bdc>] (driver_probe_device+0x194/0x218)
      [<80286a48>] (driver_probe_device+0x0/0x218) from [<80286cf4>] (__driver_attach+0x94/0x98)
       r7:00000000 r6:cf8eaa54 r5:7f02f93c r4:cf8eaa20
      [<80286c60>] (__driver_attach+0x0/0x98) from [<802851c8>] (bus_for_each_dev+0x5c/0x90)
       r6:80286c60 r5:7f02f93c r4:00000000 r3:cf8ef03c
      [<8028516c>] (bus_for_each_dev+0x0/0x90) from [<80286654>] (driver_attach+0x24/0x28)
       r6:806d0424 r5:cf16a580 r4:7f02f93c
      [<80286630>] (driver_attach+0x0/0x28) from [<802861e4>] (bus_add_driver+0xdc/0x234)
      [<80286108>] (bus_add_driver+0x0/0x234) from [<802871d4>] (driver_register+0x80/0x154)
       r8:7f032000 r7:00000001 r6:7f02fa68 r5:7f02fa74 r4:7f02f93c
      [<80287154>] (driver_register+0x0/0x154) from [<8033c278>] (i2c_register_driver+0x34/0xbc)
      [<8033c244>] (i2c_register_driver+0x0/0xbc) from [<7f032018>] (sgtl5000_i2c_driver_init+0x18/0x24 [snd_soc_sgtl5000])
       r5:7f02fa74 r4:cfb7ff48
      [<7f032000>] (sgtl5000_i2c_driver_init+0x0/0x24 [snd_soc_sgtl5000]) from [<80008738>] (do_one_initcall+0xf4/0x150)
      [<80008644>] (do_one_initcall+0x0/0x150) from [<80053f64>] (load_module+0x174c/0x1db4)
      [<80052818>] (load_module+0x0/0x1db4) from [<800546ac>] (SyS_init_module+0xe0/0xf4)
      [<800545cc>] (SyS_init_module+0x0/0xf4) from [<8000e540>] (ret_fast_syscall+0x0/0x30)
       r6:00005b22 r5:00afed68 r4:00000000
      ---[ end trace b24c5c3bb145dbdd ]---
      Signed-off-by: NPhilipp Zabel <p.zabel@pengutronix.de>
      Acked-by: NShawn Guo <shawn.guo@linaro.org>
      Reviewed-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      a8b22c1c
    • A
      ASoC: atmel-pcm: fix warning · 3a429eea
      Andrew Morton 提交于
      i386 allmodconfig:
      
      sound/soc/atmel/atmel-pcm.c: In function 'atmel_pcm_preallocate_dma_buffer':
      sound/soc/atmel/atmel-pcm.c:52: warning: cast to pointer from integer of different size
      Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      3a429eea
  15. 25 9月, 2013 3 次提交