The function is always returning zero even in case of failures sinceAcked-by: Laxman Dewangan <ldewangan@xxxxxxxxxx>
the ret value was not propagated to the callers. Fix the error path.
Reported-by: Krzysztof Kozlowski <k.kozlowski@xxxxxxxxxxx>
Signed-off-by: Javier Martinez Canillas <javier@xxxxxxxxxxxxxxx>
---