1. 08 Jul, 2019 4 commits
    • Takashi Sakamoto's avatar
      ALSA: firewire-lib: fix initial value of data block count for IR context... · 4ece7f6f
      Takashi Sakamoto authored
      ALSA: firewire-lib: fix initial value of data block count for IR context without CIP_DBC_IS_END_EVENT
      
      For IR context, ALSA IEC 61883-1/6 engine uses initial value of data
      block counter as UINT_MAX, to detect first isochronous packet in the
      middle of packet streaming.
      
      At present, when CIP_DBC_IS_END_EVENT is not used (i.e. for drivers except
      for ALSA fireworks driver), the initial value is used as is for
      tracepoints event. However, the engine can detect the value of dbc field
      in the payload of first isochronous packet and the value should be assigned
      to the event.
      
      This commit fixes the bug.
      
      Fixes: 76864868 ("ALSA: firewire-lib: cache next data_block_counter after probing tracepoints event for IR context")
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      4ece7f6f
    • Takashi Sakamoto's avatar
      ALSA: firewire-lib/fireface: fix initial value of data block counter for IR... · 7fbf9096
      Takashi Sakamoto authored
      ALSA: firewire-lib/fireface: fix initial value of data block counter for IR context with CIP_NO_HEADER
      
      For IR context, ALSA IEC 61883-1/6 engine uses initial value of data
      block counter as UINT_MAX, to detect first isochronous packet in the
      middle of packet streaming.
      
      At present, when CIP_NO_HEADER is used (i.e. for ALSA fireface driver),
      the initial value is used for tracepoints event. 0x00 should be
      for the event when the initial value is UINT_MAX because isochronous
      packets with CIP_NO_HEADER option has no field for data block count.
      
      This commit fixes the bug.
      
      Fixes: 76864868 ("ALSA: firewire-lib: cache next data_block_counter after probing tracepoints event for IR context")
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      7fbf9096
    • Takashi Sakamoto's avatar
      ALSA: firewire-lib: fix invalid length of rx packet payload for tracepoint events · 0ebf3ceb
      Takashi Sakamoto authored
      Although CIP header is handled as context header, the length of isochronous
      packet includes two quadlets for its payload. In tracepoints event the
      value of payload_quadlets should includes the two quadlets. But at present
      it doesn't.
      
      This commit fixes the bug.
      
      Fixes: b18f0cfa ("ALSA: firewire-lib: use 8 byte packet header for IT context to separate CIP header from CIP payload")
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      0ebf3ceb
    • Takashi Iwai's avatar
      Merge tag 'asoc-v5.3' of... · 3c53c625
      Takashi Iwai authored
      Merge tag 'asoc-v5.3' of https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound into for-linus
      
      ASoC: Updates for v5.3
      
      This is a very big update, mainly thanks to Morimoto-san's refactoring
      work and some fairly large new drivers.
      
       - Lots more work on moving towards a component based framework from
         Morimoto-san.
       - Support for force disconnecting muxes from Jerome Brunet.
       - New drivers for Cirrus Logic CS47L35, CS47L85 and CS47L90, Conexant
         CX2072X, Realtek RT1011 and RT1308.
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      3c53c625
  2. 07 Jul, 2019 8 commits
    • Takashi Iwai's avatar
      Merge branch 'topic/hda-refresh-cleanup' into for-next · b89b889a
      Takashi Iwai authored
      Merge a cleanup for HD-audio widget refresh code
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      b89b889a
    • Nicola Lunghi's avatar
      ALSA: usb-audio: fix Line6 Helix audio format rates · d4bd3053
      Nicola Lunghi authored
      Line6 Helix and HX stomp devices don't support retrieving
      the number of clock sample rate.
      
      Add a quirk to set it to 48Khz by default.
      
      [ fixed wrong variable initialization changes by tiwai ]
      Signed-off-by: default avatarNicola Lunghi <nick83ola@gmail.com>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      d4bd3053
    • Takashi Sakamoto's avatar
      firewire-motu: fix wrong reference count for stream functionality at error... · ba18ca2b
      Takashi Sakamoto authored
      firewire-motu: fix wrong reference count for stream functionality at error path of rawmidi interface
      
      In IEC 61883-6, several types of sampling data can be multiplexed into
      payload of common isochronous packet (CIP). For typical audio and music
      units, PCM samples and MIDI messages are multiplexed into one packet
      streaming.
      
      ALSA firewire-motu driver allows applications of rawmidi interface to
      start packet streaming for transmission of MIDI messages. However at
      error path, the reference count of stream functionality is not operated
      correctly. This can brings a bug that packet streaming is not stopped
      when all referrers release the count.
      
      This commit fixes the bug.
      
      Fixes: 8edc56ec ("ALSA: firewire-motu: reserve/release isochronous resources in pcm.hw_params/hw_free callbacks")
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      ba18ca2b
    • Takashi Sakamoto's avatar
      ALSA: firewire-digi00x: fix wrong reference count for stream functionality at... · 64582c56
      Takashi Sakamoto authored
      ALSA: firewire-digi00x: fix wrong reference count for stream functionality at error path of rawmidi interface
      
      In IEC 61883-6, several types of sampling data can be multiplexed into
      payload of common isochronous packet (CIP). For typical audio and music
      units, PCM samples and MIDI messages are multiplexed into one packet
      streaming.
      
      ALSA firewire-digi00x driver allows applications of rawmidi interface to
      start packet streaming for transmission of MIDI messages. However at
      error path, the reference count of stream functionality is not operated
      correctly. This can brings a bug that packet streaming is not stopped
      when all referrers release the count.
      
      This commit fixes the bug.
      
      Fixes: ae8ffbb2 ("ALSA: firewire-digi00x: reserve/release isochronous resources in pcm.hw_params/hw_free callbacks")
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      64582c56
    • Takashi Sakamoto's avatar
      ALSA: dice: fix wrong reference count for stream functionality at error path of rawmidi interface · e79c3f0c
      Takashi Sakamoto authored
      In IEC 61883-6, several types of sampling data can be multiplexed into
      payload of common isochronous packet (CIP). For typical audio and music
      units, PCM samples and MIDI messages are multiplexed into one packet
      streaming.
      
      ALSA dice driver allows applications of rawmidi interface to start
      packet streaming for transmission of MIDI messages. However at error
      path, the reference count of stream functionality is not operated
      correctly. This can brings a bug that packet streaming is not stopped
      when all referrers release the count.
      
      This commit fixes the bug.
      
      Fixes: 3cd2c2d7 ("ALSA: dice: reserve/release isochronous resources in pcm.hw_params/hw_free callbacks")
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      e79c3f0c
    • Takashi Sakamoto's avatar
      ALSA: oxfw: fix wrong reference count for stream functionality at error path of rawmidi interface · 03a954ae
      Takashi Sakamoto authored
      In IEC 61883-6, several types of sampling data can be multiplexed into
      payload of common isochronous packet (CIP). For typical audio and music
      units, PCM samples and MIDI messages are multiplexed into one packet
      streaming.
      
      ALSA oxfw driver allows applications of rawmidi interface to start
      packet streaming for transmission of MIDI messages. However at error
      path, the reference count of stream functionality is not operated
      correctly. This can brings a bug that packet streaming is not stopped
      when all referrers release the count.
      
      This commit fixes the bug.
      
      Fixes: 4f380d00 ("ALSA: oxfw: configure packet format in pcm.hw_params callback")
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      03a954ae
    • Takashi Sakamoto's avatar
      ALSA: fireworks: fix wrong reference count for stream functionality at error... · 2e9f17e3
      Takashi Sakamoto authored
      ALSA: fireworks: fix wrong reference count for stream functionality at error path of rawmidi interface
      
      In IEC 61883-6, several types of sampling data can be multiplexed into
      payload of common isochronous packet (CIP). For typical audio and music
      units, PCM samples and MIDI messages are multiplexed into one packet
      streaming.
      
      ALSA fireworks driver allows applications of rawmidi interface to start
      packet streaming for transmission of MIDI messages. However at error
      path, the reference count of stream functionality is not operated
      correctly. This can brings a bug that packet streaming is not stopped
      when all referrers release the count.
      
      This commit fixes the bug.
      
      Fixes: 3d725066 ("ALSA: fireworks: configure sampling transfer frequency in pcm.hw_params callback")
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      2e9f17e3
    • Takashi Sakamoto's avatar
      ALSA: bebob: fix wrong reference count for stream functionality at error path of rawmidi interface · 097f8ba3
      Takashi Sakamoto authored
      In IEC 61883-6, several types of sampling data can be multiplexed into
      payload of common isochronous packet (CIP). For typical audio and music
      units, PCM samples and MIDI messages are multiplexed into one packet
      streaming.
      
      ALSA bebob driver allows applications of rawmidi interface to start
      packet streaming for transmission of MIDI messages. However at error
      path, the reference count of stream functionality is not operated
      correctly. This can brings a bug that packet streaming is not stopped
      when all referrers release the count.
      
      This commit fixes the bug.
      
      Fixes: ac2888b9 ("ALSA: bebob: configure sampling transfer frequency in pcm.hw_params callback")
      Signed-off-by: default avatarTakashi Sakamoto <o-takashi@sakamocchi.jp>
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      097f8ba3
  3. 06 Jul, 2019 6 commits
  4. 05 Jul, 2019 8 commits
  5. 04 Jul, 2019 3 commits
  6. 03 Jul, 2019 4 commits
  7. 02 Jul, 2019 7 commits