summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/i2c/i2c-meson.txt
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-01 20:46:29 +0900
committerWolfram Sang <wsa@the-dreams.de>2016-09-08 22:41:02 +0200
commit405188e86a4acb732f94f6d7a00b7fbb89cf5309 (patch)
treef01feab83fb6f899ff6e28e2a17e9962ab40c682 /Documentation/devicetree/bindings/i2c/i2c-meson.txt
parent4c91307ce9387519836e17482906ef0f698ea7d9 (diff)
downloadblackbird-op-linux-405188e86a4acb732f94f6d7a00b7fbb89cf5309.tar.gz
blackbird-op-linux-405188e86a4acb732f94f6d7a00b7fbb89cf5309.zip
i2c: uniphier-f: avoid WARN_ON() of clk_disable() in failure path
If clk_prepare_enable() fails, clk_disable_unprepare() is called in the failure path, where the enable_count is still zero, so it hits WARN_ON(core->enable_count == 0) in the clk_core_disable(). To fix this, make the clock setting more linear in the probe function so that it can exploit "goto err" in case of error. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'Documentation/devicetree/bindings/i2c/i2c-meson.txt')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud