ALSA: oxfw: code refactoring for jumbo-payload quirk in OXFW970
[platform/kernel/linux-rpi.git] / sound / firewire / oxfw / oxfw.c
index 9a9c84b..90a66e1 100644 (file)
@@ -86,6 +86,9 @@ static int name_card(struct snd_oxfw *oxfw)
                goto end;
        be32_to_cpus(&firmware);
 
+       if (firmware >> 20 == 0x970)
+               oxfw->quirks |= SND_OXFW_QUIRK_JUMBO_PAYLOAD;
+
        /* to apply card definitions */
        if (oxfw->entry->vendor_id == VENDOR_GRIFFIN ||
            oxfw->entry->vendor_id == VENDOR_LACIE) {