dv: graphic blend test failed on HDR TV [1/1]
authoryao liu <yao.liu@amlogic.com>
Thu, 24 Oct 2019 12:09:31 +0000 (20:09 +0800)
committerYao Liu <yao.liu@amlogic.com>
Thu, 24 Oct 2019 13:36:46 +0000 (06:36 -0700)
PD#SWPL-15631

Problem:
There is an error in
c62207ef53987660d6f6b70a79907072516e60c8

Solution:
correct the err

Verify:
SM1

Change-Id: If645ee88533dab7e28ff95d578be019a2cb894a6
Signed-off-by: yao liu <yao.liu@amlogic.com>
drivers/amlogic/media/osd/osd_fb.c

index f21ca44..5da3527 100644 (file)
@@ -4281,9 +4281,9 @@ static int osd_probe(struct platform_device *pdev)
        prop = of_get_property(pdev->dev.of_node, "scale_mode", NULL);
        if (prop)
                prop_idx = of_read_ulong(prop, 1);
-       prop_idx = 0;
        /* Todo: only osd0 */
        osd_set_free_scale_mode_hw(DEV_OSD0, prop_idx);
+       prop_idx = 0;
        prop = of_get_property(pdev->dev.of_node, "4k2k_fb", NULL);
        if (prop)
                prop_idx = of_read_ulong(prop, 1);