Re: [PATCH] soc: qcom: rpmh-rsc: Sleep waiting for tcs slots to be free
From: Stephen Boyd
Date: Fri Jul 24 2020 - 16:27:24 EST
Quoting Doug Anderson (2020-07-24 13:11:59)
> I wasn't suggesting adding a timeout. I was just saying that if
> claim_tcs_for_req() were to ever return an error code other than
> -EBUSY that we'd need a check for it because otherwise we'd interpret
> the result as a tcs_id.
Ok that sounds like you don't want a check for -EBUSY so I'll leave this
as >= 0.