Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment