OSDN Git Service

ALSA: fireface: fix for state to fetch PCM frames
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sat, 15 Dec 2018 10:06:48 +0000 (19:06 +0900)
committerTakashi Iwai <tiwai@suse.de>
Sun, 16 Dec 2018 09:11:29 +0000 (10:11 +0100)
commit3d16200a3e55a39caa1c88419cb559c00316f721
tree5aca203eb198798943eb9b76fc1534b7201a1e28
parent5ef108c53e6efd695e32aad969638ccbc35b4be9
ALSA: fireface: fix for state to fetch PCM frames

According to my memo at hand and saved records, writing 0x00000001 to
SND_FF_REG_FETCH_PCM_FRAMES disables fetching PCM frames in corresponding
channel, however current implement uses reversed logic. This results in
muted volume in device side during playback.

This commit corrects the bug.

Cc: <stable@vger.kernel.org> # v4.12+
Fixes: 76fdb3a9e13a ('ALSA: fireface: add support for Fireface 400')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/fireface/ff-protocol-ff400.c