projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b7f1fe5
)
OMAPDSS: DSI: workaround for HSDiv problem
author
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Fri, 12 Oct 2012 13:27:28 +0000
(16:27 +0300)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Mon, 5 Nov 2012 09:14:05 +0000
(11:14 +0200)
It looks like on many OMAP versions powers for both HSClk and HSDiv to
be enabled to have a functional HSDiv.
This patch fixes the issue by forcing both powers on.
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dsi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/omap2/dss/dsi.c
b/drivers/video/omap2/dss/dsi.c
index ea5c6603a51dea65749a142cda466bd1aba5492b..e773f44b523d0db23b5c1722d412d73d8288a4bc 100644
(file)
--- a/
drivers/video/omap2/dss/dsi.c
+++ b/
drivers/video/omap2/dss/dsi.c
@@
-1741,6
+1741,12
@@
int dsi_pll_init(struct platform_device *dsidev, bool enable_hsclk,
DSSDBG("PLL init\n");
+ /*
+ * It seems that on many OMAPs we need to enable both to have a
+ * functional HSDivider.
+ */
+ enable_hsclk = enable_hsdiv = true;
+
if (dsi->vdds_dsi_reg == NULL) {
struct regulator *vdds_dsi;