Re: [PATCH v1 1/4] i2c: mpc: Use devm_clk_get_optional()

2021-04-13 Thread Chris Packham
On 14/04/21 2:37 am, Andy Shevchenko wrote: > The peripheral clock is optional and we may get an -EPROBE_DEFER error code > which would not be propagated correctly, fix this by using > devm_clk_get_optional(). > > Signed-off-by: Andy Shevchenko Reviewed-by: Chris Packham None of the systems I

[PATCH v1 1/4] i2c: mpc: Use devm_clk_get_optional()

2021-04-13 Thread Andy Shevchenko
The peripheral clock is optional and we may get an -EPROBE_DEFER error code which would not be propagated correctly, fix this by using devm_clk_get_optional(). Signed-off-by: Andy Shevchenko --- drivers/i2c/busses/i2c-mpc.c | 25 - 1 file changed, 12 insertions(+), 13 del