]> Pileus Git - ~andy/linux/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)
commit6f367993988720c86e863bb64db8a62a002d6d9d
treea2c69739d068a7ec2536551cc201d92e4a34e833
parent98add8e80764f49219de354a867f4cf8ade94ba8
[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