commit | 6340c8720ce34f35b41a2e15d69fe3d755cb2104 | [log] [tgz] |
---|---|---|
author | Tero Kristo <t-kristo@ti.com> | Wed Jul 02 11:47:35 2014 +0300 |
committer | Paul Walmsley <paul@pwsan.com> | Sun Jul 06 15:58:38 2014 -0600 |
tree | 21536371ee55e3a894bc0f8849b4550077a47252 | |
parent | d904b38df0db137dc5f562010231f76c443cbe28 [diff] |
ARM: OMAP2+: clock/dpll: fix _dpll_test_fint arithmetics overflow The divider value provided to the _dpll_test_fint can reach value of 256 with J type DPLLs (USB etc.), which causes an overflow with the u8 datatype. Fix this by changing the parameter to be an int instead. Signed-off-by: Tero Kristo <t-kristo@ti.com> [paul@pwsan.com: changed type of 'n' to unsigned int] Signed-off-by: Paul Walmsley <paul@pwsan.com>