Re: [PATCH 3/3] i2c: sprd: Validate the return value of clock initialization

2019-08-06 Thread Wolfram Sang
On Thu, Jul 25, 2019 at 03:56:18PM +0800, Baolin Wang wrote: > The 'enable' clock of I2C master is required, we should return an error > if failed to get the 'enable' clock, to make sure the I2C driver can be > defer probe if the clock resource is not ready. > > Signed-off-by: Baolin Wang Applie

[PATCH 3/3] i2c: sprd: Validate the return value of clock initialization

2019-07-25 Thread Baolin Wang
The 'enable' clock of I2C master is required, we should return an error if failed to get the 'enable' clock, to make sure the I2C driver can be defer probe if the clock resource is not ready. Signed-off-by: Baolin Wang --- drivers/i2c/busses/i2c-sprd.c | 11 +++ 1 file changed, 7 inser