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

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



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

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