diff options
author | Franklin S Cooper Jr <[email protected]> | 2017-08-16 17:17:13 -0500 |
---|---|---|
committer | Wolfram Sang <[email protected]> | 2017-08-27 15:34:09 +0200 |
commit | cc209ac81cce0109e03af23f68ea06b549a4a2ed (patch) | |
tree | adc2fb1f3dbdc5f015ac211c260bd97e57df7fab /drivers/i2c/i2c-core-of.c | |
parent | 1304fe0916eeb67c78309e54eb819f8b4932ed33 (diff) |
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 <[email protected]>
Reviewed-by: Grygorii Strashko <[email protected]>
Acked-by: Sekhar Nori <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'drivers/i2c/i2c-core-of.c')
0 files changed, 0 insertions, 0 deletions