Skip to content
Snippets Groups Projects
  1. May 08, 2024
  2. Jul 16, 2023
  3. Mar 20, 2023
  4. Sep 03, 2020
    • Pierre-Louis Bossart's avatar
      ALSA: atmel: ac97: clarify operator precedence · a971b42c
      Pierre-Louis Bossart authored and Takashi Iwai's avatar Takashi Iwai committed
      
      Fix cppcheck warnings:
      
      sound/atmel/ac97c.c:478:30: style: Clarify calculation precedence for
      '&' and '?'. [clarifyCalculation]
          casr & AC97C_CSR_OVRUN   ? " OVRUN"   : "",
                                   ^
      sound/atmel/ac97c.c:479:30: style: Clarify calculation precedence for
      '&' and '?'. [clarifyCalculation]
          casr & AC97C_CSR_RXRDY   ? " RXRDY"   : "",
                                   ^
      sound/atmel/ac97c.c:480:30: style: Clarify calculation precedence for
      '&' and '?'. [clarifyCalculation]
          casr & AC97C_CSR_UNRUN   ? " UNRUN"   : "",
                                   ^
      sound/atmel/ac97c.c:481:30: style: Clarify calculation precedence for
      '&' and '?'. [clarifyCalculation]
          casr & AC97C_CSR_TXEMPTY ? " TXEMPTY" : "",
                                   ^
      sound/atmel/ac97c.c:482:30: style: Clarify calculation precedence for
      '&' and '?'. [clarifyCalculation]
          casr & AC97C_CSR_TXRDY   ? " TXRDY"   : "",
                                   ^
      sound/atmel/ac97c.c:524:30: style: Clarify calculation precedence for
      '&' and '?'. [clarifyCalculation]
          cosr & AC97C_CSR_OVRUN   ? " OVRUN"   : "",
                                   ^
      sound/atmel/ac97c.c:525:30: style: Clarify calculation precedence for
      '&' and '?'. [clarifyCalculation]
          cosr & AC97C_CSR_RXRDY   ? " RXRDY"   : "",
                                   ^
      sound/atmel/ac97c.c:526:30: style: Clarify calculation precedence for
      '&' and '?'. [clarifyCalculation]
          cosr & AC97C_CSR_TXEMPTY ? " TXEMPTY" : "",
                                   ^
      sound/atmel/ac97c.c:527:30: style: Clarify calculation precedence for
      '&' and '?'. [clarifyCalculation]
          cosr & AC97C_CSR_TXRDY   ? " TXRDY"   : "",
                                   ^
      
      Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Link: https://lore.kernel.org/r/20200902212133.30964-15-pierre-louis.bossart@linux.intel.com
      
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      a971b42c
  5. Jul 09, 2020
  6. Jan 03, 2020
  7. Dec 11, 2019
  8. Jun 19, 2019
  9. May 21, 2019
  10. Feb 06, 2019
  11. Sep 04, 2017
  12. Aug 31, 2017
  13. Aug 23, 2017
  14. Aug 19, 2017
  15. Aug 17, 2017
  16. Jul 26, 2017
  17. Jul 01, 2017
  18. May 15, 2017
  19. May 20, 2015
  20. Jan 07, 2015
  21. Dec 27, 2014
  22. Dec 05, 2014
    • Alexander Stein's avatar
      ALSA: atmel_abdac: Add missing clock prepare · 04818454
      Alexander Stein authored and Takashi Iwai's avatar Takashi Iwai committed
      
      Clocks must be prepared before enabling them. Do this in one step.
      Replace clk_enable with clk_prepare_enable and clk_disable with
      clk_disable_unprepare.
      
      Signed-off-by: default avatarAlexander Stein <alexanders83@web.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      04818454
    • Alexander Stein's avatar
      ALSA: sound/atmel/ac97c.c: Add missing clock prepare · 1132015b
      Alexander Stein authored and Takashi Iwai's avatar Takashi Iwai committed
      
      Clocks must be prepared before enabling them. Do this in one step.
      Replace clk_enable with clk_prepare_enable and clk_disable with
      clk_disable_unprepare. This fixes the following warning:
      ------------[ cut here ]------------
      WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:895 __clk_enable+0x24/0x9c()
      Modules linked in:
      CPU: 0 PID: 1 Comm: swapper Tainted: G        W      3.18.0-rc7+ #245
      [<c000dce8>] (unwind_backtrace) from [<c000bcf0>] (show_stack+0x10/0x14)
      [<c000bcf0>] (show_stack) from [<c001664c>] (warn_slowpath_common+0x60/0x80)
      [<c001664c>] (warn_slowpath_common) from [<c00166fc>] (warn_slowpath_null+0x18/0x20)
      [<c00166fc>] (warn_slowpath_null) from [<c02fd7ac>] (__clk_enable+0x24/0x9c)
      [<c02fd7ac>] (__clk_enable) from [<c02fdbb4>] (clk_enable+0x18/0x2c)
      [<c02fdbb4>] (clk_enable) from [<c0322688>] (atmel_ac97c_probe+0x154/0x694)
      [<c0322688>] (atmel_ac97c_probe) from [<c0235e08>] (platform_drv_probe+0x48/0x94)
      [<c0235e08>] (platform_drv_probe) from [<c02345f8>] (driver_probe_device+0x138/0x350)
      [<c02345f8>] (driver_probe_device) from [<c02348bc>] (__driver_attach+0x68/0x8c)
      [<c02348bc>] (__driver_attach) from [<c0232bd0>] (bus_for_each_dev+0x70/0x84)
      [<c0232bd0>] (bus_for_each_dev) from [<c0233cd8>] (bus_add_driver+0xfc/0x1f8)
      [<c0233cd8>] (bus_add_driver) from [<c0234f0c>] (driver_register+0x9c/0xe0)
      [<c0234f0c>] (driver_register) from [<c0008ac4>] (do_one_initcall+0x110/0x1c8)
      [<c0008ac4>] (do_one_initcall) from [<c053cd58>] (kernel_init_freeable+0xf8/0x1b8)
      [<c053cd58>] (kernel_init_freeable) from [<c03c0414>] (kernel_init+0x8/0xe4)
      [<c03c0414>] (kernel_init) from [<c00096d0>] (ret_from_fork+0x14/0x24)
      ---[ end trace cb88537fdc8fa201 ]---
      atmel_ac97c fffa0000.sound: AC'97 0 does not respond - RESET
      atmel_ac97c fffa0000.sound: AC'97 0 access is not valid [0xffffffff], removing mixer.
      ------------[ cut here ]------------
      
      Signed-off-by: default avatarAlexander Stein <alexanders83@web.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      1132015b
    • Alexander Stein's avatar
      ALSA: sound/atmel/ac97c.c: Fix device index for pcm · ca460cc2
      Alexander Stein authored and Takashi Iwai's avatar Takashi Iwai committed
      
      chip->pdev->id is -1 by default. This is an invalid index resulting in
      device file names like /dev/snd/pcmC0D-1p.
      
      Signed-off-by: default avatarAlexander Stein <alexanders83@web.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ca460cc2
  23. Oct 20, 2014
  24. Oct 15, 2014
  25. Sep 11, 2014
  26. Apr 16, 2014
  27. Feb 14, 2014
  28. Dec 10, 2013
  29. Dec 02, 2013
  30. Nov 05, 2013
  31. May 03, 2013
  32. Apr 29, 2013
  33. Dec 07, 2012
  34. Aug 20, 2012
  35. Aug 09, 2012
Loading