Commit e426f904 authored by Matt Wagantall's avatar Matt Wagantall
Browse files

msm: clock-debug: Replace ULONG_MAX with INT_MAX for 'fmax' assignment



The 'fmax' variable is an integer, not an unsigned long. Use the
correct macro so that the comparisons of 'rate' and 'fmax' works
correctly. Now, doing a 'cat list_rates' for a clock without voltage
constraints prints a non-empty list.

Change-Id: Ie93894e3d026115c2671980d8520eb8fb09d5e49
Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent 5e568b70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment