diff mbox series

[1/3] tests: crc: Fix AtomicRequest usage

Message ID 20200806022802.22813-2-laurent.pinchart@ideasonboard.com (mailing list archive)
State New
Delegated to: Kieran Bingham
Headers show
Series kms-tests: Small fixes and enhancements | expand

Commit Message

Laurent Pinchart Aug. 6, 2020, 2:28 a.m. UTC
Commit 3cd7e6814cea ("kmstest.py: Fix CRTC disabling") modified the CRC
test to use the kmstest.AtomicRequest class, but failed to pass the
correct argument to the constructor. Fix it.

Fixes: 3cd7e6814cea ("kmstest.py: Fix CRTC disabling")
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
 tests/kms-test-crc.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/tests/kms-test-crc.py b/tests/kms-test-crc.py
index d936d1d4fb90..dcdfcd4abb71 100755
--- a/tests/kms-test-crc.py
+++ b/tests/kms-test-crc.py
@@ -58,7 +58,7 @@  class CRCTest(kmstest.KMSTest):
                 self.fail("atomic mode set failed with %d" % ret)
-            req = kmstest.AtomicRequest(self.card)
+            req = kmstest.AtomicRequest(self)
             offset = 100
             for plane in planes: