Fix arm64 build after r364927
Reported by: jenkins, dch Pointy hat to: manu
This commit is contained in:
parent
6dd5b77a15
commit
b46b3ba72c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=364952
@ -221,14 +221,14 @@ aw_clk_nm_set_freq(struct clknode *clk, uint64_t fparent, uint64_t *fout,
|
|||||||
if ((best < *fout) &&
|
if ((best < *fout) &&
|
||||||
((flags & CLK_SET_ROUND_DOWN) == 0)) {
|
((flags & CLK_SET_ROUND_DOWN) == 0)) {
|
||||||
*stop = 1;
|
*stop = 1;
|
||||||
printf("best freq (%llu) < requested freq(%llu)\n",
|
printf("best freq (%ju) < requested freq(%ju)\n",
|
||||||
best, *fout);
|
best, *fout);
|
||||||
return (ERANGE);
|
return (ERANGE);
|
||||||
}
|
}
|
||||||
if ((best > *fout) &&
|
if ((best > *fout) &&
|
||||||
((flags & CLK_SET_ROUND_UP) == 0)) {
|
((flags & CLK_SET_ROUND_UP) == 0)) {
|
||||||
*stop = 1;
|
*stop = 1;
|
||||||
printf("best freq (%llu) > requested freq(%llu)\n",
|
printf("best freq (%ju) > requested freq(%ju)\n",
|
||||||
best, *fout);
|
best, *fout);
|
||||||
return (ERANGE);
|
return (ERANGE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user