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

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



Guard 'parent_rate==0' to prevent 'divide by zero' issue in
clk_pplv3_sys_get_rate(). If it is 0, let's return with -EINVAL.

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