OSDN Git Service

ALSA: hdspm: Fix single speed ADAT capture and playback with RME HDSPe AIO
authorPhilippe Bekaert <Philippe.Bekaert@panokkel.be>
Thu, 23 May 2019 21:56:49 +0000 (23:56 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 24 May 2019 06:00:10 +0000 (08:00 +0200)
commite4e07c6cdca8a837ab40363fc8002cf62965a628
tree150c2a881a0bdae089c8b0993cc027f810efb660
parent92bfa664ae133d13a3496f71f5c7c7f4d4827a88
ALSA: hdspm: Fix single speed ADAT capture and playback with RME HDSPe AIO

By taking into account the mapping from logical to DMA channels when
enabling or disabling audio channels, ADAT channels 3 to 8 on the RME
HDSPe AIO card are now correctly captured and played back in single speed
mode.

Since the mapping is an identity mapping for all cards except AIO and
RayDAT, only those cards should be affected by this patch. It was tested on
an AIO card. The patch needs testing on other cards, in particular RayDAT.

Note: this patch does not solve ADAT capture and playback issues in double
or triple speed mode. That seems to be another problem.

Signed-off-by: Philippe Bekaert <Philippe.Bekaert@panokkel.be>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c