diff options
author | Boris BREZILLON <[email protected]> | 2014-09-02 09:50:18 +0200 |
---|---|---|
committer | Mike Turquette <[email protected]> | 2014-09-02 15:37:26 -0700 |
commit | 16eeaec77922c1349e130a9541e83a023deaf11f (patch) | |
tree | ffbcb2e73a8582170af39d32893236756f5cba39 /net/lapb/lapb_subr.c | |
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 <[email protected]>
Reported-by: Gaël PORTAY <[email protected]>
Tested-by: Gaël PORTAY <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions