]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: oxfw: fix to handle correct stream for PCM playback
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 26 Aug 2019 13:55:15 +0000 (22:55 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 Aug 2019 14:00:30 +0000 (16:00 +0200)
commit364ea616c6f891e7349b6eea5067ec747963bb2f
tree7b86da0ec986376cf51c409ffeab3863c9d04e61
parentcb344025dccc328afd67005837f7a753238a348a
ALSA: oxfw: fix to handle correct stream for PCM playback

When userspace application calls ioctl(2) to configure hardware for PCM
playback substream, ALSA OXFW driver handles incoming AMDTP stream.
In this case, outgoing AMDTP stream should be handled.

This commit fixes the bug for v5.3-rc kernel.

Fixes: 26e6f321f2a4 ("ALSA: oxfw: configure packet format in pcm.hw_params callback")
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/oxfw/oxfw-pcm.c