1. 04 May, 2021 2 commits
  2. 03 May, 2021 2 commits
  3. 28 Apr, 2021 15 commits
  4. 27 Apr, 2021 1 commit
  5. 26 Apr, 2021 7 commits
  6. 23 Apr, 2021 10 commits
  7. 22 Apr, 2021 3 commits
    • Takashi Iwai's avatar
      ALSA: usb-audio: Generic application of implicit fb to Roland/BOSS devices · 316791b5
      Takashi Iwai authored
      Through the examinations and experiments with lots of Roland and BOSS
      USB-audio devices, we found out that the recently introduced
      full-duplex operations with the implicit feedback mode work fine for
      quite a few devices, while the others need only the capture-side quirk
      to enforce the full-duplex mode.  The recent commit d86f43b1
      ("ALSA: usb-audio: Add support for many Roland devices' implicit
      feedback quirks") tried to add such quirk entries manually in the
      lists, but this turned out to be too many and error-prone, hence it
      was reverted again.
      
      This patch is another attempt to cover those missing Roland/BOSS
      devices but in a more generic way.  It matches the devices with the
      vendor ID 0x0582, and checks whether they are with both ASYNC sync
      types or ASYNC is only for capture device.  In the former case, it's
      the device with the implicit feedback mode, and applies accordingly.
      In both cases, the capture stream requires always the full-duplex
      mode, and we apply the known capture quirk for that, too.
      
      Basically the already existing BOSS device quirk entries become
      redundant after this generic matching, so those are removed.  Although
      the capture_implicit_fb_quirks[] table became empty and superfluous, I
      keep it for now, so that people can put a special device easily at any
      time later again.
      
      Link: https://lore.kernel.org/r/CAOsVg8rA61B=005_VyUwpw3piVwA7Bo5fs1GYEB054efyzGjLw@mail.gmail.com
      Link: https://lore.kernel.org/r/20210414083255.9527-1-tiwai@suse.de
      BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=212519Tested-by: default avatarLucas Endres <jaffa225man@gmail.com>
      Link: https://lore.kernel.org/r/20210422120413.457-2-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      316791b5
    • Takashi Iwai's avatar
      Revert "ALSA: usb-audio: Add support for many Roland devices..." · 37153cc5
      Takashi Iwai authored
      This reverts commit d86f43b1 ("ALSA: usb-audio: Add support for
      many Roland devices' feedback quirks").
      
      It turned out that many quirk entries there don't contain the proper
      EP values and/or the quirk types, which lead to the broken
      operations.
      
      As we're going to cover all Roland/BOSS devices in a more generic way
      rather the explicit lists, let's revert the previous additions at
      first.
      
      Fixes: d86f43b1 ("ALSA: usb-audio: Add support for many Roland devices' implicit feedback quirks")
      Link: https://lore.kernel.org/r/20210422120413.457-1-tiwai@suse.deSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      37153cc5
    • Arnd Bergmann's avatar
      ASoC: tegra: mark runtime-pm functions as __maybe_unused · ccd4cc3e
      Arnd Bergmann authored
      A reorganization of the driver source led to two of them causing
      a compile time warning in some configurations:
      
      tegra/tegra20_spdif.c:36:12: error: 'tegra20_spdif_runtime_resume' defined but not used [-Werror=unused-function]
         36 | static int tegra20_spdif_runtime_resume(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      tegra/tegra20_spdif.c:27:12: error: 'tegra20_spdif_runtime_suspend' defined but not used [-Werror=unused-function]
         27 | static int tegra20_spdif_runtime_suspend(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      tegra/tegra30_ahub.c:64:12: error: 'tegra30_ahub_runtime_resume' defined but not used [-Werror=unused-function]
         64 | static int tegra30_ahub_runtime_resume(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      tegra/tegra30_ahub.c:43:12: error: 'tegra30_ahub_runtime_suspend' defined but not used [-Werror=unused-function]
         43 | static int tegra30_ahub_runtime_suspend(struct device *dev)
            |            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
      
      Mark these functions as __maybe_unused to avoid this kind of warning.
      
      Fixes: b5571449 ("ASoC: tegra30: ahub: Remove handing of disabled runtime PM")
      Fixes: c53b396f ("ASoC: tegra20: spdif: Remove handing of disabled runtime PM")
      Fixes: 80ec4a4c ("ASoC: tegra20: i2s: Remove handing of disabled runtime PM")
      Fixes: b5f6f781 ("ASoC: tegra30: i2s: Remove handing of disabled runtime PM")
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Link: https://lore.kernel.org/r/20210422133418.1757893-1-arnd@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      ccd4cc3e