On 2020-07-17 4:04 p.m., Uwe Kleine-König wrote:
On Fri, Jul 17, 2020 at 11:25:12AM -0700, Scott Branden wrote:From: Rayagonda Kokatanur <[email protected]> Handle clk_get_rate() returning <= 0 condition to avoid possible division by zero.You advertise handling <= 0, but in the code only == 0 is checked. One of the two is wrong ...
I checked - clk_get_rate can't return negative values. I'll update the commit message from <= to ==.
Best regards Uwe
Thanks, Scott

