]> git.baikalelectronics.ru Git - kernel.git/commit
[media] smiapp: Round minimum pre_pll up rather than down in ip_clk_freq check
authorSakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Thu, 26 Apr 2012 14:21:30 +0000 (11:21 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 20 May 2012 15:46:17 +0000 (12:46 -0300)
commit4d38ec679459cae064cc308a21805853bdb7b316
treea2c69739d068a7ec2536551cc201d92e4a34e833
parent73b71c596749e48be5f374e469e1fceaa995ca80
[media] smiapp: Round minimum pre_pll up rather than down in ip_clk_freq check

The pre_pll divisor must be such that ext_clk / pre_pll divisor does not
result in a frequency that is greater than pll_ip_clk_freq. Fix this.

Signed-off-by: Sakari Ailus <sakari.ailus@maxwell.research.nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/smiapp-pll.c