Skip to content
Snippets Groups Projects
  1. Aug 08, 2024
  2. May 08, 2024
  3. May 22, 2023
  4. Aug 24, 2022
  5. Jul 19, 2021
  6. Jun 09, 2021
  7. Mar 17, 2021
  8. Jul 09, 2020
  9. Jul 07, 2020
  10. Jan 05, 2020
  11. Jan 03, 2020
  12. Dec 11, 2019
  13. Nov 06, 2019
  14. May 30, 2019
  15. May 21, 2019
  16. Feb 06, 2019
  17. Jan 15, 2019
  18. Jul 26, 2018
  19. Jul 18, 2018
  20. Aug 19, 2017
  21. Aug 17, 2017
  22. May 30, 2017
    • Bhumika Goyal's avatar
      ALSA: declare snd_kcontrol_new structures as const · 905e46ac
      Bhumika Goyal authored and Takashi Iwai's avatar Takashi Iwai committed
      
      Declare snd_kcontrol_new structures as const as they are only passed an
      argument to the function snd_ctl_new1. This argument is of type const,
      so snd_kcontrol_new structures having this property can be made const.
      Done using Coccinelle:
      
      @r disable optional_qualifier@
      identifier x;
      position p;
      @@
      static struct snd_kcontrol_new x@p={...};
      
      @ok@
      identifier r.x;
      position p;
      @@
      snd_ctl_new1(&x@p,...)
      
      @bad@
      position p != {r.p,ok.p};
      identifier r.x;
      @@
      x@p
      
      @depends on !bad disable optional_qualifier@
      identifier r.x;
      @@
      +const
      struct snd_kcontrol_new x;
      
      Cross compiled these files:
      sound/aoa/codecs/tas.c - powerpc
      sound/mips/{hal2.c/sgio2audio.c} - mips
      sound/ppc/{awacs.c/beep.c/tumbler.c} - powerpc
      sound/soc/sh/siu_dai.c - sh
      Could not find an architecture to compile sound/sh/aica.c.
      
      Signed-off-by: default avatarBhumika Goyal <bhumirks@gmail.com>
      Acked-by: default avatarMark Brown <broonie@kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      905e46ac
  23. May 17, 2017
  24. Feb 28, 2017
  25. Jan 04, 2017
  26. Nov 11, 2014
  27. Sep 15, 2014
    • Takashi Iwai's avatar
      ALSA: pdaudiocf: Use nonatomic PCM ops · 3b73cfe5
      Takashi Iwai authored
      
      Like other fixes, convert the tasklet to a threaded irq and replace
      spinlock with mutex appropriately.  ak4117_lock remains as spinlock
      since it's called in another spinlock context from ak4117 driver.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      3b73cfe5
    • Takashi Iwai's avatar
      ALSA: vx: Use nonatomic PCM ops · db0a5214
      Takashi Iwai authored
      
      Rewrite VXpocket and VX222 drivers to use the new PCM nonatomic ops.
      The former irq tasklet is replaced with a threaded irq handler, and
      the tasklet for the PCM delayed start is simply merged into the normal
      PCM trigger, as well as the replacement of spinlock with mutex.
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      db0a5214
  28. Feb 14, 2014
  29. Mar 15, 2013
  30. Jul 03, 2012
Loading