diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-02-18 10:41:26 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-02-19 11:24:35 +0300 |
commit | 25ab2b2f6ac209a3746eec42210a98fe047a7453 (patch) | |
tree | dfaedaf4be25137f650187278d97fe88d6b5c179 /sound/firewire/oxfw/oxfw.h | |
parent | 5c0a35b26f3b7b260475bd0e62261584aab8e486 (diff) | |
download | linux-25ab2b2f6ac209a3746eec42210a98fe047a7453.tar.xz |
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 'sound/firewire/oxfw/oxfw.h')
-rw-r--r-- | sound/firewire/oxfw/oxfw.h | 2 |
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. */ |