diff options
author | Franklin S Cooper Jr <fcooper@ti.com> | 2017-08-17 01:17:13 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2017-08-27 16:34:09 +0300 |
commit | cc209ac81cce0109e03af23f68ea06b549a4a2ed (patch) | |
tree | adc2fb1f3dbdc5f015ac211c260bd97e57df7fab /arch/blackfin | |
parent | 1304fe0916eeb67c78309e54eb819f8b4932ed33 (diff) | |
download | linux-cc209ac81cce0109e03af23f68ea06b549a4a2ed.tar.xz |
i2c: davinci: Preserve return value of devm_clk_get
The i2c driver can run into driver dependency issues if its loaded
before a clock driver it depends on. Therefore, EPROBE_DEFER may be
returned by devm_clk_get and should be returned in probe to allow the
kernel to reprobe the driver at a later time. This patch allows the error
value returned by devm_clk_get to be passed through and not overwritten.
Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions