video: rockchip: hdmi: support modify color mode and depth simultaneously
[firefly-linux-kernel-4.4.55.git] / drivers / video / rockchip / hdmi / rockchip-hdmi-core.c
index c3f396ddb898b2316d556a772e3bdcdf25575f18..fcd6ae99f9f57952ade3416100ae93d8addaa63d 100644 (file)
@@ -174,8 +174,7 @@ static void hdmi_wq_set_video(struct hdmi *hdmi)
                }
                if ((hdmi->property->feature & SUPPORT_DEEP_10BIT) &&
                    (deepcolor & HDMI_DEEP_COLOR_30BITS) &&
-                   (hdmi->colordepth == HDMI_DEPP_COLOR_AUTO ||
-                    hdmi->colordepth == 10))
+                    hdmi->colordepth == 10)
                        video->color_output_depth = 10;
        }
        pr_info("hdmi output corlor mode is %d\n", video->color_output);