diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-11-30 10:53:35 +0100 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2015-12-14 10:59:26 +0100 |
commit | ac9b91f39d86f04eeacfccb6b6113b1ffa001ec1 (patch) | |
tree | e508b40e2986bfb1e5a470d8a58d3eaa9198beff /fs/attr.c | |
parent | i2c: uniphier: error out if bus speed is zero (diff) | |
download | linux-ac9b91f39d86f04eeacfccb6b6113b1ffa001ec1.tar.xz linux-ac9b91f39d86f04eeacfccb6b6113b1ffa001ec1.zip |
i2c: uniphier_f: error out if clock rate is zero
This input clock is used to generate the sampling clock for I2C bus.
If the clock rate is zero, there is something wrong with the clock
driver. Bail out with the appropriate error message in such a case.
It would make it easier to find the root cause of failure.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'fs/attr.c')
0 files changed, 0 insertions, 0 deletions