clk: mediatek: use unsigned type for returning the clk rate

When the clock rate needs 32 bits to store its data, the value
become corrupted because of the conversion ulong -> int -> ulong that
happens in the driver. Use ulong everywhere to avoid corrupting the
clock rates.

Signed-off-by: Fabien Parent <fparent@baylibre.com>
1 file changed