OMAP4: clock data: Fix max mult and div for USB DPLL
authorBenoit Cousson <b-cousson@ti.com>
Sun, 10 Jul 2011 01:14:46 +0000 (19:14 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 10 Jul 2011 01:14:46 +0000 (19:14 -0600)
commit628479a8ea5d32ef26ba0b4eb26f8d6712a574ec
tree81e5f0b23bb6d880f7aa8cfa2e77475e7a71622a
parent7ecd4228b48192890220e1fd1b39c8bd2988aa80
OMAP4: clock data: Fix max mult and div for USB DPLL

The DPLL USB can generate higher speed (x2) than the regular ones.
The max multiplication value is then twice the previous value.

Fix both max_mult and max_div with that correct values.

Change the max_div variable type to u16 to allow storing up to 256.

Replace as well the define with the value to avoid
unneeded indirection and provide a better readability.

Remove the defines that become useless.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Paul Walmsley <paul@pwsan.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock44xx.h
arch/arm/mach-omap2/clock44xx_data.c
arch/arm/plat-omap/include/plat/clock.h