dmaengine: idxd: Set traffic class values in GRPCFG on DSA 2.0
[linux-2.6-microblaze.git] / drivers / dma / idxd / device.c
index 06f5d37..19ab3e5 100644 (file)
@@ -701,7 +701,7 @@ static void idxd_groups_clear_state(struct idxd_device *idxd)
                group->use_rdbuf_limit = false;
                group->rdbufs_allowed = 0;
                group->rdbufs_reserved = 0;
-               if (idxd->hw.version < DEVICE_VERSION_2 && !tc_override) {
+               if (idxd->hw.version <= DEVICE_VERSION_2 && !tc_override) {
                        group->tc_a = 1;
                        group->tc_b = 1;
                } else {