From mboxrd@z Thu Jan 1 00:00:00 1970 From: nsekhar@ti.com (Sekhar Nori) Date: Mon, 21 Aug 2017 15:10:13 +0530 Subject: [PATCH v2 1/3] i2c: davinci: Preserve return value of devm_clk_get In-Reply-To: <20170816221715.15027-2-fcooper@ti.com> References: <20170816221715.15027-1-fcooper@ti.com> <20170816221715.15027-2-fcooper@ti.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Thursday 17 August 2017 03:47 AM, 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 > Reviewed-by: Grygorii Strashko Acked-by: Sekhar Nori Thanks, Sekhar