From: Timur Tabi Date: Thu, 23 Jun 2011 06:16:48 +0000 (+0000) Subject: powerpc/86xx: improve calculation of DIU pixel clock on the MPC8610 HPCD X-Git-Tag: v3.1-rc1~236^2~57 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8bfa77b56fecbc2734f67d5265dbd216413501d;p=pandora-kernel.git powerpc/86xx: improve calculation of DIU pixel clock on the MPC8610 HPCD mpc8610hpcd_set_pixel_clock() calculates the correct value of the PXCLK bits in the CLKDVDR register for a given pixel clock rate. The code which performs this calculation is overly complicated and includes an error estimation routine that doesn't work most of the time anyway. Replace the code with the simpler routine that's currently used on the P1022DS. Signed-off-by: Timur Tabi Signed-off-by: Kumar Gala --- Reading git-diff-tree failed