aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/sound/firewire/oxfw/oxfw.h
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2024-02-18 16:41:26 +0900
committerTakashi Iwai <tiwai@suse.de>2024-02-19 09:24:35 +0100
commit25ab2b2f6ac209a3746eec42210a98fe047a7453 (patch)
treedfaedaf4be25137f650187278d97fe88d6b5c179 /sound/firewire/oxfw/oxfw.h
parentALSA: oxfw: use const qualifier for immutable argument (diff)
downloadwireguard-linux-25ab2b2f6ac209a3746eec42210a98fe047a7453.tar.xz
wireguard-linux-25ab2b2f6ac209a3746eec42210a98fe047a7453.zip
ALSA: oxfw: support the case that AV/C Stream Format Information command is not available
Miglia Harmony Audio does neither support AV/C Stream Format Information command nor AV/C Extended Stream Format Information command. This commit adds a workaround for the case and uses the hard-coded formats. Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp> Link: https://lore.kernel.org/r/20240218074128.95210-3-o-takashi@sakamocchi.jp Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r--sound/firewire/oxfw/oxfw.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/firewire/oxfw/oxfw.h b/sound/firewire/oxfw/oxfw.h
index 39316aeafeaa..3bf8d7bec636 100644
--- a/sound/firewire/oxfw/oxfw.h
+++ b/sound/firewire/oxfw/oxfw.h
@@ -52,6 +52,8 @@ enum snd_oxfw_quirk {
// performs media clock recovery voluntarily. In the recovery, the packets with NO_INFO
// are ignored, thus driver should transfer packets with timestamp.
SND_OXFW_QUIRK_VOLUNTARY_RECOVERY = 0x20,
+ // Miglia Harmony Audio does not support AV/C Stream Format Information command.
+ SND_OXFW_QUIRK_STREAM_FORMAT_INFO_UNSUPPORTED = 0x40,
};
/* This is an arbitrary number for convinience. */