Skip to content

Updates to snd-asihpi driver

[email protected] alsa-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8Clock source is neither capture nor playback. Add spaces to control name string for consistency.pci/asihpi/asihpi.c+5 -33 replies
2/8Debug print full substream ID. Other minor debug print updates.pci/asihpi/asihpi.c+56 -460 replies
3/8More forgiving handling of card playback drained status.pci/asihpi/asihpi.c+10 -20 replies
4/8Allow older non DMA capable cards to use MMAP. Emulate the DMA using read and write functions, get rid of copy & silence callbacks that were used only by older cards.pci/asihpi/asihpi.c+70 -1350 replies
5/8Remove 2 unused functions.pci/asihpi/hpifunc.c+0 -270 replies
6/8Define pcm_debug_name if CONFIG_SND_DEBUGpci/asihpi/asihpi.c+16 -150 replies
7/8Replace subsys_delete_adapter with adapter_delete This allows some special-case code to be removedpci/asihpi/hpi6000.c pci/asihpi/hpi6205.c pci/asihpi/hpi_internal.h +3 more+113 -1260 replies
8/8Minor cleanups including %pR to print resource.pci/asihpi/hpi_internal.h pci/asihpi/hpicmn.c pci/asihpi/hpicmn.h +1 more+12 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [snd-asihpi 0/8] Updates to snd-asihpi driver

Patch 4 is main change, allowing older cards to be accessed using mmap, incidentally simplifying the driver by removing copy&silence callbacks.

Others are small improvements and updates.

This version has been tested with aplay/arecord, and with portaudio applications.

 pci/asihpi/asihpi.c       |  328 +++++++++++++++++++-------------------------
 pci/asihpi/hpi.h          |   15 +-
 pci/asihpi/hpi6000.c      |   39 ++----
 pci/asihpi/hpi6205.c      |   97 +++++++-------
 pci/asihpi/hpi_internal.h |   19 +--
 pci/asihpi/hpicmn.c       |   10 +-
 pci/asihpi/hpicmn.h       |    2 +
 pci/asihpi/hpifunc.c      |   27 ----
 pci/asihpi/hpimsgx.c      |   31 ++---
 pci/asihpi/hpioctl.c      |   63 +++++-----
 pci/asihpi/hpios.h        |    2 +