[kms-tests] [PATCH 3/6] tests: crc: Disable CRTC regarless of test status

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The CRTC should be disabled when the test completes, regardless of
whether it succeeds or fails.

Signed-off-by: Laurent Pinchart <laurent.pinchart@xxxxxxxxxxxxxxxx>
---
 tests/kms-test-crc.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/kms-test-crc.py b/tests/kms-test-crc.py
index dcdfcd4abb71..e3e31b34e2d4 100755
--- a/tests/kms-test-crc.py
+++ b/tests/kms-test-crc.py
@@ -105,7 +105,8 @@ class CRCTest(kmstest.KMSTest):
 
                 self.logger.log("CRC value 0x%08x" % crcs[0])
             else:
-                self.atomic_crtc_disable(crtc)
                 self.success()
 
+            self.atomic_crtc_disable(crtc)
+
 CRCTest().execute()
-- 
Regards,

Laurent Pinchart




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux