Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1720826

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

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/3] i2c: davinci: Preserve return value of devm_clk_get
Date 2017-08-27 15:40 +0200
Message-ID <uj5Xd-8k0-27@gated-at.bofh.it> (permalink)
References <ufeZ4-4rP-11@gated-at.bofh.it> <ufeZ5-4rP-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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 <fcooper@ti.com>
> Reviewed-by: Grygorii Strashko <grygorii.strashko@ti.com>

Applied to for-next, thanks!

Waiting for V3 of the other patches.

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH v2 1/3] i2c: davinci: Preserve return value of  devm_clk_get Wolfram Sang <wsa@the-dreams.de> - 2017-08-27 15:40 +0200

csiph-web