]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdspm - Fix MADI channel format in the status ioctl
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Thu, 27 Oct 2011 19:57:52 +0000 (21:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 31 Oct 2011 08:53:25 +0000 (09:53 +0100)
commit2d1c6ae335da26d6289db9f7ae9e593ed3286cbf
tree30d047e2e971dcd8cd61894120936a7ae1ccbbd9
parent013c55ec097c367be02ce2d449fe765de3e1f625
ALSA: hdspm - Fix MADI channel format in the status ioctl

SNDRV_HDSPM_IOCTL_GET_STATUS is supposed to query the current card
status, so we have to return what we receive on the MADI wire (RX), not
what we transmit (TX) to others. The latter is a config item to be
queried via SNDRV_HDSPM_IOCTL_GET_CONFIG.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c