]> 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)
commit985d996b7e9ac7ff8a4fcb0f2aa62815c08ec0b0
treea2c69739d068a7ec2536551cc201d92e4a34e833
parent7b170bf55a434fc92ed9eb5cd18a576f2e8ccdeb
[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