Skip to content

ALSA: qc_audio_offload: address space cleanups

Arnd Bergmann linux-sound lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3ALSA: qc_audio_offload: rename dma/iova/va/cpu/phys variablessound/usb/qcom/qc_audio_offload.c sound/usb/qcom/usb_audio_qmi_v01.c sound/usb/qcom/usb_audio_qmi_v01.h+72 -720 replies
2/3ALSA: qc_audio_offload: avoid leaking xfer_buf allocationsound/usb/qcom/qc_audio_offload.c+5 -30 replies
3/3ALSA: qc_audio_offload: try to reduce address space confusionsound/usb/qcom/qc_audio_offload.c+21 -1119 replies

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchArnd Bergmann
1/3
2/3
3/3A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/3] ALSA: qc_audio_offload: address space cleanups

From: Arnd Bergmann <[email protected]>

I ran into a build time warning and spent some time trying to gently rewrite the new driver to avoid the warning and make it behave more like other drivers.

I'm still a bit confused about what the driver actually does and why a buffer has to be mapped into a two devices, but I hope that either my patches clear this up enough, or if they are wrong are helpful to have someone else sort it out properly.

The patches are currently queued for v6.16 in Greg's usb-next tree, so my fixes look correct, I hope he can apply them there before the merge window.

Arnd Bergmann (3):
ALSA: qc_audio_offload: rename dma/iova/va/cpu/phys variables
ALSA: qc_audio_offload: avoid leaking xfer_buf allocation
ALSA: qc_audio_offload: try to reduce address space confusion

 sound/usb/qcom/qc_audio_offload.c  | 158 ++++++++++++++++-------------
 sound/usb/qcom/usb_audio_qmi_v01.c |   4 +-
 sound/usb/qcom/usb_audio_qmi_v01.h |   4 +-
 3 files changed, 89 insertions(+), 77 deletions(-)
Cc Jaroslav Kysela <[email protected]>
Cc Takashi Iwai <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
Cc Mark Brown <[email protected]>
Cc Wesley Cheng <[email protected]>
Cc Dan Carpenter <[email protected]>
Signature · 1 line
2.39.5