commit | f9f7c7503f7002deffe4cb8409ccada075a52522 | [log] [tgz] |
---|---|---|
author | Heiko Stuebner <heiko@sntech.de> | Fri Oct 14 15:08:56 2011 +0900 |
committer | Kukjin Kim <kgene.kim@samsung.com> | Fri Oct 14 15:15:52 2011 +0900 |
tree | 6613230fdc583300e66be800d9debd0b38890052 | |
parent | 5f33bd76f5c4df45cd5b2e4132c6451dac8afee9 [diff] |
ARM: S3C2443: handle unset armdiv values gracefully The armdiv array may contain unset divider values. Check the relevant value to prevent division by zero errors. Also check for set nr_armdiv and armdivmask before meddling with clkdiv0. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>