summaryrefslogtreecommitdiffstats
path: root/drivers/clk/zynq
diff options
context:
space:
mode:
authorBoris BREZILLON <boris.brezillon@free-electrons.com>2014-09-02 09:50:18 +0200
committerMike Turquette <mturquette@linaro.org>2014-09-03 00:37:26 +0200
commit16eeaec77922c1349e130a9541e83a023deaf11f (patch)
treeffbcb2e73a8582170af39d32893236756f5cba39 /drivers/clk/zynq
parentclk: at91: rework rm9200 USB clock to propagate set_rate to the parent clk (diff)
downloadlinux-16eeaec77922c1349e130a9541e83a023deaf11f.tar.xz
linux-16eeaec77922c1349e130a9541e83a023deaf11f.zip
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/zynq')
0 files changed, 0 insertions, 0 deletions