msm: ipa3: changes to return correct variable value

When GSI stop channel is failing, & retrying & IPA_HW < 4.0,
the return variable is being updated by the immediate other
function as well, there it results in updating & returning
a wrong value, finally leading to exit without removing endp_delay
on that pipe, results in without stopping the channel thereafter
so corrected it with adding a new variable.

Change-Id: If0ee3986ae40941ce4409d6fb5d74b37db9b7190
Signed-off-by: Jagadeesh Ponduru <quic_jponduru@quicinc.com>
1 file changed