]> git.baikalelectronics.ru Git - kernel.git/commit
OMAPDSS: fix omap2 dss fck handling
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 1 Nov 2013 09:26:43 +0000 (11:26 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Nov 2013 12:32:25 +0000 (14:32 +0200)
commiteca66759cfae57f52ecb52c091942c41281d4eb2
tree5bdc8a51e572c2463622d59e92c632c7a338ebc1
parentaeade29d0d840e61f6d1df36c6c5e1c9a1f4f43c
OMAPDSS: fix omap2 dss fck handling

The driver considers OMAP2 DSS's functional clock as a fixed clock.
However, it can be changed, but the possible dividers are not continuous
which is why it was just handled as a fixed clock.

As a partial fix, this patch changes the code to handle the continous
part of the dividers, from 1 to 6. This let's us handle the OMAP2 fck
the same way as fcks on other OMAPs.

Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c