powerpc/85xx: clamp the P1022DS DIU pixel clock to allowed values
authorTimur Tabi <timur@freescale.com>
Thu, 23 Jun 2011 19:48:54 +0000 (14:48 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 27 Jun 2011 13:36:16 +0000 (08:36 -0500)
To ensure that the DIU pixel clock will not be set to an invalid value,
clamp the PXCLK divider to the allowed range (2-255).  This also acts as
a limiter for the pixel clock.

Signed-off-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

No differences found