summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 184cb3c)
raw | patch | inline | side by side (parent: 184cb3c)
author | Arthur Philpott <arthur.philpott@ti.com> | |
Tue, 2 Apr 2013 16:02:40 +0000 (11:02 -0500) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 12 Jul 2013 22:41:44 +0000 (17:41 -0500) |
Initialize compatibility mode for DSSCOMP
Change-Id: Ibb97b38e59ba19bfdc09ec232137bf29e370c247
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
Change-Id: Ibb97b38e59ba19bfdc09ec232137bf29e370c247
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
drivers/video/omap2/dsscomp/device.c | patch | blob | history |
index 18f009372a63f7af81dcc5c1d46bcf7f44eef87d..26fbab907d2031fee5ceb40567a4d993d80bc8b3 100755 (executable)
static int dsscomp_probe(struct platform_device *pdev)
{
int ret;
+ int r = 0;
struct dsscomp_dev *cdev = kzalloc(sizeof(*cdev), GFP_KERNEL);
if (!cdev) {
pr_err("dsscomp: failed to allocate device.\n");
#endif
}
+ r = omapdss_compat_init();
+ if (r) {
+ pr_err("dsscomp: compatibility mode not initialized");
+ return r;
+ }
+
cdev->pdev = &pdev->dev;
platform_set_drvdata(pdev, cdev);