Thread (12 messages) flat view 12 messages, 3 authors, 2017-08-27

[PATCH v2 1/3] i2c: davinci: Preserve return value of devm_clk_get

From: Wolfram Sang <hidden>
Date: 2017-08-27 13:35:00
Also in: linux-devicetree, linux-i2c, lkml

On Wed, Aug 16, 2017 at 05:17:13PM -0500, Franklin S Cooper Jr wrote:
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 <redacted>
Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>
Applied to for-next, thanks!

Waiting for V3 of the other patches.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20170827/5304240f/attachment.sig>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help