vout: cvbs: Update cvbscable option detection
authorJoy Cho <joy.cho@hardkernel.com>
Wed, 16 Sep 2020 08:28:14 +0000 (17:28 +0900)
committerJoy Cho <joy.cho@hardkernel.com>
Wed, 16 Sep 2020 12:05:39 +0000 (21:05 +0900)
Change-Id: Ia80e740f913439e03f2f4f2ae01e85aabcc096fd

drivers/amlogic/media/vout/cvbs/cvbs_out.c

index f5dcb21..b6b506b 100644 (file)
@@ -1651,7 +1651,7 @@ EXPORT_SYMBOL(cvbs_cable_connected);
 
 static int __init get_cvbs_cable(char *str)
 {
-       cvbs_cable = (str[0] == '0') ? 0 : 1;
+       cvbs_cable = (str[0] == '1') ? 1 : 0;
 
        return 0;
 }