diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2021-05-18 10:45:56 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-18 12:24:08 +0200 |
commit | a6f9169323f0dc629829c0052e8b6c6833cd5572 (patch) | |
tree | 648f7535f35555548cdf709273c5225948ce4b62 /sound/firewire/oxfw/oxfw.h | |
parent | ALSA: firewire-lib: code refactoring for jumbo payload quirk (diff) | |
download | linux-a6f9169323f0dc629829c0052e8b6c6833cd5572.tar.xz linux-a6f9169323f0dc629829c0052e8b6c6833cd5572.zip |
ALSA: oxfw: code refactoring for wrong_dbs quirk
A new entry is added to the quirk enumeration for wrong_dbs quirk to
obsolete structure member.
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210518084557.102681-11-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to '')
-rw-r--r-- | sound/firewire/oxfw/oxfw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/firewire/oxfw/oxfw.h b/sound/firewire/oxfw/oxfw.h index 07aa0d25e100..4002998d41e8 100644 --- a/sound/firewire/oxfw/oxfw.h +++ b/sound/firewire/oxfw/oxfw.h @@ -36,6 +36,8 @@ enum snd_oxfw_quirk { // Postpone transferring packets during handling asynchronous transaction. As a result, // next isochronous packet includes more events than one packet can include. SND_OXFW_QUIRK_JUMBO_PAYLOAD = 0x01, + // The dbs field of CIP header in tx packet is wrong. + SND_OXFW_QUIRK_WRONG_DBS = 0x02, }; /* This is an arbitrary number for convinience. */ @@ -51,7 +53,6 @@ struct snd_oxfw { // The combination of snd_oxfw_quirk enumeration-constants. unsigned int quirks; - bool wrong_dbs; bool has_output; bool has_input; u8 *tx_stream_formats[SND_OXFW_STREAM_FORMAT_ENTRIES]; |