diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2021-05-18 11:45:56 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-05-18 13:24:08 +0300 |
commit | a6f9169323f0dc629829c0052e8b6c6833cd5572 (patch) | |
tree | 648f7535f35555548cdf709273c5225948ce4b62 /sound/firewire/oxfw/oxfw.h | |
parent | 6a3ce97da2ab2bd7ca7a446b62b104488ccd43ef (diff) | |
download | linux-a6f9169323f0dc629829c0052e8b6c6833cd5572.tar.xz |
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 'sound/firewire/oxfw/oxfw.h')
-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]; |