Thread (4 messages) 4 messages, 4 authors, 2014-05-14

[PATCH] i2c: qup: Fix pm_runtime_get_sync usage

From: Bjorn Andersson <hidden>
Date: 2014-05-09 16:52:01
Also in: linux-arm-msm, linux-i2c, lkml

On Fri, May 2, 2014 at 6:54 PM, Andy Gross [off-list ref] wrote:
[...]
quoted hunk ↗ jump to hunk
@@ -479,7 +479,7 @@ static int qup_i2c_xfer(struct i2c_adapter *adap,
        int ret, idx;

        ret = pm_runtime_get_sync(qup->dev);
-       if (ret)
+       if (ret < 0)
                goto out;
Sorry about that, thought I tested that path properly.
Wolfram, please pick this up as soon as possible as it renders the
driver useless if one enables pm runtime.

Acked-by: Bjorn Andersson <redacted>

Regards,
Bjorn
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help