1. Nov 10, 2023
  2. Nov 09, 2023
  3. Nov 08, 2023
  4. Nov 07, 2023
  5. Nov 06, 2023
  6. Nov 03, 2023
  7. Nov 02, 2023
    • Mark Brown's avatar
      ASoC: codecs: Modify some error codes · 5c81f752
      Mark Brown authored
      Merge series from wangweidong.a@awinic.com:
      
      The maximum value that calib can set should be
      consistent with the maximum value of re.
      
      An error code should be return when the re is greater
      than the maximum value or less than the minimum value
      
      The value of vsense_select should be either 32
      or 0 in both cases, so modify the
      AW88399_DEV_VDSEL_VSENSE macro to 32.
      5c81f752
  8. Nov 01, 2023
  9. Oct 31, 2023
  10. Oct 30, 2023
  11. Oct 29, 2023
  12. Oct 28, 2023
  13. Oct 27, 2023
    • Geoffrey D. Bennett's avatar
      ALSA: scarlett2: Add missing check with firmware version control · a5901f27
      Geoffrey D. Bennett authored
      
      
      scarlett2_add_firmware_version_ctl() may return an error, but the
      return value was not being checked. Add the missing check.
      
      Signed-off-by: default avatarGeoffrey D. Bennett <g@b4.vu>
      Fixes: 701949cc ("ALSA: scarlett2: Add support for reading firmware version")
      Link: https://lore.kernel.org/r/ZTuKcXajVnuelBEb@m.b4.vu
      
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      a5901f27
    • Matias Ezequiel Vara Larsen's avatar
      ALSA: virtio: use ack callback · fe981e67
      Matias Ezequiel Vara Larsen authored
      This commit uses the ack() callback to determine when a buffer has been
      updated, then exposes it to guest.
      
      The current mechanism splits a dma buffer into descriptors that are
      exposed to the device. This dma buffer is shared with the user
      application. When the device consumes a buffer, the driver moves the
      request from the used ring to available ring.
      
      The driver exposes the buffer to the device without knowing if the
      content has been updated from the user. The section 2.8.21.1 of the
      virtio spec states that: "The device MAY access the descriptor chains
      the driver created and the memory they refer to immediately". If the
      device picks up buffers from the available ring just after it is
      notified, it happens that the content may be old.
      
      When the ack() callback is invoked, the driver exposes only the buffers
      that have already been updated, i.e., enqueued in the available ring.
      Thus, the device always picks up a buffer that is updated.
      
      For capturing, the driver starts by exposi...
      fe981e67
    • Geoffrey D. Bennett's avatar
      ALSA: scarlett2: Remap Level Meter values · 3473185f
      Geoffrey D. Bennett authored
      
      
      The values previously returned by the Level Meter control were passed
      through from the interface without interpretation, but it has been
      discovered that the order of the values matches the mux assignment
      order (which is not presented to userspace). In addition, the values
      for disabled mux outputs, and mux outputs which share a source are
      invalid.
      
      This patch adds a per-device meter_map[], and a dynamic
      meter_level_map[] which is updated on routing changes. The meter level
      map gets used by scarlett2_meter_ctl_get() to both present the values
      in a standard order, and to fix up the invalid values by zeroing them
      (for disabled outputs) and copying them (for mux outputs which share a
      source).
      
      Signed-off-by: default avatarGeoffrey D. Bennett <g@b4.vu>
      Link: https://lore.kernel.org/r/d437ace603eff685d2e0c3d0960589d7a09dd647.1698342632.git.g@b4.vu
      
      
      Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
      3473185f