commit | 3391e7772933da74b488c761a2e444b9899cbd2a | [log] [tgz] |
---|---|---|
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | Fri Jan 17 13:06:40 2020 +0100 |
committer | Lukasz Majewski <lukma@denx.de> | Sun Jan 26 21:57:08 2020 +0100 |
tree | 32734249dcfd101ab95c1f6d35248fb686bcc7f5 | |
parent | 90cbfa50c2b85d60f41d5e9852141058e5bad3ac [diff] |
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: Giulio Benetti <giulio.benetti@benettiengineering.com>