Masahiro Yamada 51549c087f i2c: uniphier_f: error out if bus speed is zero
There is code to divide by "bus_speed" some lines below.
To eliminate the possibility of division by zero, bail out if
"clock-frequency" is specified as zero.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2015-12-14 10:59:46 +01:00
..
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-07-31 13:32:31 +02:00
2014-11-07 18:35:33 +01:00
2015-12-05 19:55:36 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2015-11-20 15:58:22 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2015-08-24 14:05:18 +02:00
2015-03-27 16:53:41 +01:00
2015-05-12 18:27:48 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-08-10 08:37:33 +02:00
2015-08-10 08:37:28 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2015-04-23 19:35:33 +02:00
2014-11-07 18:35:33 +01:00
2014-11-07 18:35:33 +01:00
2014-12-14 16:10:09 -08:00