commit | e4a55589f05414edc10ed4f5db2e6fad387c868a | [log] [tgz] |
---|---|---|
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | Fri Jan 17 13:06:42 2020 +0100 |
committer | Lukasz Majewski <lukma@denx.de> | Sun Jan 26 21:57:08 2020 +0100 |
tree | 75dce64d25c13114ebb3cdbb26e7025aa4ef04fe | |
parent | 2af750e8d5bd1c97ad64d65643ab3c1806e6e24b [diff] |
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: Giulio Benetti <giulio.benetti@benettiengineering.com>