commit | eb8173e3d7b94664ecd3acf34942c9c9d6f6cb73 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Jun 30 11:41:58 2015 +0800 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Jul 09 22:17:31 2015 +0200 |
tree | 728bb767487a23b0a3fe059656f377930b3d84b4 | |
parent | 724948106ed236fc528c720ae12c79af7e2aea4e [diff] |
i2c: jz4780: Fix return value if probe fails Current code returns 0 if fails to read clock-frequency DT property, fix it. Also add checking return value of clk_prepare_enable and propagate return value of devm_request_irq. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>