fbdev: omap2: Fix typo in tvc_probe_pdata
authorRasmus Villemoes <linux@rasmusvillemoes.dk>
Mon, 5 Jan 2015 13:09:47 +0000 (14:09 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Tue, 13 Jan 2015 11:27:08 +0000 (13:27 +0200)
Assigning ddata->invert_polarity to itself is not very useful; the
context suggests that the right-hand side should have been
pdata->invert_polarity.

Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/omap2/displays-new/connector-analog-tv.c

index 9a2b5ce58545e5c7598ca5a711ca0af6b4344d1d..8511c648a15c21cd5d7239e804ca1088c3e189bf 100644 (file)
@@ -208,7 +208,7 @@ static int tvc_probe_pdata(struct platform_device *pdev)
        ddata->in = in;
 
        ddata->connector_type = pdata->connector_type;
-       ddata->invert_polarity = ddata->invert_polarity;
+       ddata->invert_polarity = pdata->invert_polarity;
 
        dssdev = &ddata->dssdev;
        dssdev->name = pdata->name;