Hi, On Wed, May 23, 2018 at 6:27 AM, Raju P L S S S N <rplsssn@xxxxxxxxxxxxxx> wrote: >>> + break; >> >> >> "break" seems wrong here. You'll end up waiting for the completion, >> then I guess timing out, then returning -ETIMEDOUT? > > > As the loop above break runs for remaining count, completion will be > notified so there will not be waiting. Ah, I see. I missed that. ...oh, I guess you need to wait because any requests you might have made will try to signal your completion which is on the stack... -- To unsubscribe from this list: send the line "unsubscribe linux-soc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html