Thread (18 messages) 18 messages, 4 authors, 2018-06-30

[PATCH v2 5/6] i2c: Add Actions Semi OWL family S900 I2C driver

From: Andy Shevchenko <hidden>
Date: 2018-06-30 13:04:33
Also in: linux-devicetree, linux-gpio, linux-i2c, lkml

On Sat, Jun 30, 2018 at 3:44 PM, Manivannan Sadhasivam
[off-list ref] wrote:
On Sat, Jun 30, 2018 at 03:14:37PM +0300, Andy Shevchenko wrote:
quoted
On Thu, Jun 28, 2018 at 9:10 PM, Manivannan Sadhasivam
[off-list ref] wrote:
quoted
quoted
+static int owl_i2c_master_xfer(struct i2c_adapter *adap, struct i2c_msg *msgs,
+                               int num)
+{
quoted
+       int ret = 0, idx;
Redundant assignment.
No. Actually the return path will be fixed in next iteration. Please
see my reply to Peter's review for explanation.
How come? I didn't find anything related to this comment in reply you
are referring to.
I left deliberately the below part to show you the pointlessness of an
assignment to 0.
quoted
quoted
+       ret = owl_i2c_hw_init(i2c_dev);
+       if (ret)
+               return ret;
Do you mean you are dropping this in next revision?

-- 
With Best Regards,
Andy Shevchenko
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help