diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-09-02 09:50:18 +0200 |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-09-02 15:37:26 -0700 |
commit | 16eeaec77922c1349e130a9541e83a023deaf11f (patch) | |
tree | ffbcb2e73a8582170af39d32893236756f5cba39 /drivers/clk/clk-u300.c | |
parent | 13a6073d4c5db3103011eebe8c68b049323ced20 (diff) | |
download | op-kernel-dev-16eeaec77922c1349e130a9541e83a023deaf11f.zip op-kernel-dev-16eeaec77922c1349e130a9541e83a023deaf11f.tar.gz |
clk: at91: fix div by zero in USB clock driver
Test rate value before calculating the div value to avoid div by zero.
Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
Reported-by: Gaël PORTAY <gael.portay@gmail.com>
Tested-by: Gaël PORTAY <gael.portay@gmail.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk-u300.c')
0 files changed, 0 insertions, 0 deletions