1. 24 Apr, 2024 1 commit
  2. 21 Apr, 2024 1 commit
    • Nathan Chancellor's avatar
      ALSA: scarlett2: Zero initialize ret in scarlett2_ag_target_ctl_get() · 3a56855b
      Nathan Chancellor authored
      Clang warns (or errors with CONFIG_WERROR):
      
        sound/usb/mixer_scarlett2.c:3697:6: error: variable 'err' is used uninitialized whenever 'if' condition is false [-Werror,-Wsometimes-uninitialized]
         3697 |         if (private->autogain_updated) {
              |             ^~~~~~~~~~~~~~~~~~~~~~~~~
        sound/usb/mixer_scarlett2.c:3707:9: note: uninitialized use occurs here
         3707 |         return err;
              |                ^~~
        sound/usb/mixer_scarlett2.c:3697:2: note: remove the 'if' if its condition is always true
         3697 |         if (private->autogain_updated) {
              |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        sound/usb/mixer_scarlett2.c:3688:9: note: initialize the variable 'err' to silence this warning
         3688 |         int err;
              |                ^
              |                 = 0
        1 error generated.
      
      Initialize ret to zero to ensure ret is initialized in all paths within
      scarlett2_ag_target_ctl_get(), which matches the style of other
      functions in this driver.
      
      Fixes: e30ea534 ("ALSA: scarlett2: Add autogain target controls")
      Signed-off-by: default avatarNathan Chancellor <nathan@kernel.org>
      Message-ID: <20240419-alsa-scarlett2-fix-wsometimes-uninitialized-v1-1-e2ace8642e08@kernel.org>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      3a56855b
  3. 19 Apr, 2024 1 commit
    • Takashi Iwai's avatar
      ALSA: seq: dummy: Allow UMP conversion · 32cb23a0
      Takashi Iwai authored
      Although the purpose of dummy seq client is a direct pass-through,
      it's sometimes helpful for debugging if it can convert to a certain
      UMP MIDI version.  This patch adds an option to specify the UMP event
      conversion.  As default, it skips the conversion and does
      passthrough, while user can pass ump=1 or ump=2 to enforce the
      conversion to UMP MIDI1 or MIDI2 format.
      
      Message-ID: <20240419101105.15571-1-tiwai@suse.de>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      32cb23a0
  4. 18 Apr, 2024 29 commits
  5. 07 Apr, 2024 8 commits