commit | b0823d0f4a9f242f767c0ba4f2b24abc03bb9bd0 | [log] [tgz] |
---|---|---|
author | Deepak Katragadda <dkatraga@codeaurora.org> | Fri Apr 21 15:17:19 2017 -0700 |
committer | Deepak Katragadda <dkatraga@codeaurora.org> | Fri Apr 21 15:17:19 2017 -0700 |
tree | d5e1a58aec83e2fe66fbefdf90b98231bd62c5f2 | |
parent | 925b22073122b46ce228360c69700f8d3f6ded43 [diff] |
clk: qcom: clk-alpha-pll: Check for the parent rate during round_rate The parent rate passed in to the round_rate operation of the alpha PLL could be 0. Account for this and fix the UBSAN warning: UBSAN: Undefined behaviour in drivers/clk/qcom/clk-alpha-pll.c:311:137 division by zero Change-Id: Ie6834a4e52589251fa7b7287ee292aafc92342a1 Signed-off-by: Deepak Katragadda <dkatraga@codeaurora.org>