Re: [PATCH v8 09/10] drivers: qcom: rpmh: add support for batch RPMH request

From: Doug Anderson
Date: Wed May 30 2018 - 17:49:01 EST


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...