commit | 16eeaec77922c1349e130a9541e83a023deaf11f | [log] [tgz] |
---|---|---|
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | Tue Sep 02 09:50:18 2014 +0200 |
committer | Mike Turquette <mturquette@linaro.org> | Tue Sep 02 15:37:26 2014 -0700 |
tree | ffbcb2e73a8582170af39d32893236756f5cba39 | |
parent | 13a6073d4c5db3103011eebe8c68b049323ced20 [diff] |
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>