projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b719b
)
OMAPDSS: DPI: use dispc's check_timings
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Wed, 24 Oct 2012 10:27:02 +0000
(13:27 +0300)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 7 Dec 2012 15:05:57 +0000
(17:05 +0200)
dpi.c uses dss_mgr_check_timings() to verify video timings, but that
function is in the compat layer. Change dpi.c to use the dispc's check
instead.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dpi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/omap2/dss/dpi.c
b/drivers/video/omap2/dss/dpi.c
index d5bc47a4f3eed712cb64aaa1bd58a2d0e5e3146c..6cbcc81991a1d139817f1b8af0595fd4df65f87b 100644
(file)
--- a/
drivers/video/omap2/dss/dpi.c
+++ b/
drivers/video/omap2/dss/dpi.c
@@
-315,7
+315,7
@@
int dpi_check_timings(struct omap_dss_device *dssdev,
unsigned long pck;
struct dispc_clock_info dispc_cinfo;
- if (
dss_mgr_check_timings(mgr
, timings))
+ if (
mgr && !dispc_mgr_timings_ok(mgr->id
, timings))
return -EINVAL;
if (timings->pixel_clock == 0)