1. 07 7月, 2017 1 次提交
  2. 30 9月, 2015 1 次提交
  3. 07 7月, 2015 1 次提交
  4. 15 1月, 2015 2 次提交
  5. 18 11月, 2014 1 次提交
    • L
      ASoC: Rename snd_soc_dai_driver struct ac97_control field to bus_control · bc263214
      Lars-Peter Clausen 提交于
      Setting the ac97_control field on a CPU DAI tells the ASoC core that this
      DAI in addition to audio data also transports control data to the CODEC.
      This causes the core to suspend the DAI after the CODEC and resume it before
      the CODEC so communication to the CODEC is still possible. This is not
      necessarily something that is specific to AC'97 and can be used by other
      buses with the same requirement. This patch renames the flag from
      ac97_control to bus_control to make this explicit.
      
      While we are at it also change the type from int to bool.
      
      The following semantich patch was used for automatic conversion of the
      drivers:
      // <smpl>
      @@
      identifier drv;
      @@
      struct snd_soc_dai_driver drv = {
      -	.ac97_control
      +	.bus_control
      	=
      -	1
      +	true
      };
      // </smpl>
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      bc263214
  6. 20 10月, 2014 1 次提交
  7. 25 3月, 2014 1 次提交
  8. 05 12月, 2013 1 次提交
  9. 02 12月, 2013 2 次提交
    • O
      ASoC: fsl: imx-ssi: omit ssi counter to avoid harm in unbalanced situation · 3621dbbc
      Oskar Schirmer 提交于
      Unbalanced calls to imx_ssi_trigger() may result in endless
      SSI activity and thus provoke eternal sound. While on the first glance,
      the switch statement looks pretty symmetric, the SUSPEND/RESUME
      pair is not: the suspend case comes along snd_pcm_suspend_all(),
      which for fsl/imx-pcm-fiq is called only at snd_soc_suspend(),
      but the resume case originates straight from the SNDRV_PCM_IOCTL_RESUME.
      This way userland may provoke an unbalanced resume, which might cause
      the ssi->enabled counter to increase and never return to zero again,
      so eventually SSI_SCR_SSIEN is never disabled.
      
      As the information on whether to enable the SSI or not is contained
      in the two bits for TE/RE, we save all the software mirroring of
      hardware state here and simply use the hardware register itself
      to keep the state of whether someone is currently playing or capturing.
      
      This is essentially the same stuff as in sound/soc/fsl/imx-pcm-fiq.c
      which I send a patch for three days ago. Astonishing enough this
      highly fragile scheme is used twice in parallel to serve the very
      same control function, synchronously: Once out of sync you are lost
      until reboot.
      
      Note, that these fixes wont prevent state machine distortion on alsa
      level to cut sound or the like. It just makes sure we have a chance
      to synchronise again later on.
      Signed-off-by: NOskar Schirmer <oskar@scara.com>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      3621dbbc
    • L
      ASoC: fsl: Use devm_snd_dmaengine_pcm_register() · 7e6d18ac
      Lars-Peter Clausen 提交于
      Makes the code shorter.
      Signed-off-by: NLars-Peter Clausen <lars@metafoo.de>
      Signed-off-by: NMark Brown <broonie@linaro.org>
      7e6d18ac
  10. 14 10月, 2013 1 次提交
  11. 07 10月, 2013 1 次提交
  12. 26 7月, 2013 1 次提交
  13. 15 7月, 2013 1 次提交
  14. 27 6月, 2013 1 次提交
  15. 18 5月, 2013 1 次提交
  16. 15 5月, 2013 2 次提交
  17. 17 4月, 2013 1 次提交
  18. 05 4月, 2013 1 次提交
  19. 27 3月, 2013 1 次提交
  20. 26 3月, 2013 1 次提交
  21. 13 3月, 2013 2 次提交
  22. 23 1月, 2013 1 次提交
  23. 09 12月, 2012 1 次提交
  24. 15 10月, 2012 1 次提交
  25. 14 9月, 2012 1 次提交
  26. 06 9月, 2012 1 次提交
  27. 08 8月, 2012 1 次提交
  28. 04 8月, 2012 2 次提交
  29. 28 5月, 2012 1 次提交
    • F
      ASoC: imx-ssi: Use clk_prepare_enable/clk_disable_unprepare · 41c73b6e
      Fabio Estevam 提交于
      Fix the following kernel crash:
      
      ------------[ cut here ]------------
      WARNING: at drivers/clk/clk.c:508 __clk_enable+0x9c/0xa8()
      Modules linked in:
      Backtrace:
      [<80011ef4>] (dump_backtrace+0x0/0x10c) from [<803fd48c>] (dump_stack+0x18/0x1c)
       r7:00000009 r6:000001fc r5:803002ac r4:00000000
      [<803fd474>] (dump_stack+0x0/0x1c) from [<8002003c>] (warn_slowpath_common+0x54/0x6c)
      [<8001ffe8>] (warn_slowpath_common+0x0/0x6c) from [<80020078>] (warn_slowpath_null+0x24/0x2c)
       r9:00000090 r8:8600e2c0 r7:8605c808 r6:8605c800 r5:8605d780
      r4:8600e2c0
      [<80020054>] (warn_slowpath_null+0x0/0x2c) from [<803002ac>] (__clk_enable+0x9c/0xa8)
      [<80300210>] (__clk_enable+0x0/0xa8) from [<803002d0>] (clk_enable+0x18/0x30)
       r5:8605d780 r4:80000013
      [<803002b8>] (clk_enable+0x0/0x30) from [<803247c4>] (imx_ssi_probe+0xa0/0x4f4)
       r5:8605d780 r4:86174180
      [<80324724>] (imx_ssi_probe+0x0/0x4f4) from [<8022b0fc>] (platform_drv_probe+0x20/0x24)
      [<8022b0dc>] (platform_drv_probe+0x0/0x24) from [<80229c40>] (driver_probe_device+0x80/0x1f0)
      [<80229bc0>] (driver_probe_device+0x0/0x1f0) from [<80229e44>] (__driver_attach+0x94/0x98)
       r9:00000090 r8:805b7800 r7:00000000 r6:8605c83c r5:805b1b44
      r4:8605c808
      [<80229db0>] (__driver_attach+0x0/0x98) from [<8022856c>] (bus_for_each_dev+0x68/0x94)
       r7:00000000 r6:80229db0 r5:86033eb0 r4:805b1b44
      [<80228504>] (bus_for_each_dev+0x0/0x94) from [<80229aa0>] (driver_attach+0x20/0x28)
       r7:00000000 r6:86174100 r5:8059f6d0 r4:805b1b44
      [<80229a80>] (driver_attach+0x0/0x28) from [<80228d50>] (bus_add_driver+0x18c/0x268)
      [<80228bc4>] (bus_add_driver+0x0/0x268) from [<8022a474>] (driver_register+0x80/0x134)
      [<8022a3f4>] (driver_register+0x0/0x134) from [<8022b4a4>] (platform_driver_register+0x4c/0x60)
       r7:00000000 r6:805b7800 r5:00000018 r4:86032000
      [<8022b458>] (platform_driver_register+0x0/0x60) from [<80556890>] (imx_ssi_driver_init+0x14/0x1c)
      [<8055687c>] (imx_ssi_driver_init+0x0/0x1c) from [<8000868c>] (do_one_initcall+0x40/0x194)
      [<8000864c>] (do_one_initcall+0x0/0x194) from [<8052f3b0>] (kernel_init+0x114/0x1f0)
      [<8052f29c>] (kernel_init+0x0/0x1f0) from [<8002445c>] (do_exit+0x0/0x788)
      ---[ end trace d4aa739205917dbb ]---
      asoc: mc13783-hifi <-> imx-ssi.0 mapping ok
      Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      41c73b6e
  30. 01 4月, 2012 1 次提交
  31. 06 3月, 2012 1 次提交
  32. 04 3月, 2012 1 次提交
  33. 24 2月, 2012 1 次提交
  34. 22 2月, 2012 1 次提交
  35. 24 11月, 2011 1 次提交