Skip to content
Commit d37ecaba authored by Giulio Benetti's avatar Giulio Benetti Committed by Lukasz Majewski
Browse files

clk: imx: pllv3: fix potential 'divide by zero' in av_get_rate()



Guard 'mfd==0' to prevent 'divide by zero' issue in
clk_pplv3_av_get_rate(). If it is 0, let's return with EIO since mfd
should never be 0 at all.

Signed-off-by: default avatarGiulio Benetti <giulio.benetti@benettiengineering.com>
parent 3391e777
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment