Re: [PATCH v3] bus: mhi: core: Return EAGAIN if MHI ring is full

From: Hemant Kumar
Date: Wed Feb 17 2021 - 11:45:26 EST




On 2/17/21 8:26 AM, Jeffrey Hugo wrote:
From: Fan Wu <wufan@xxxxxxxxxxxxxx>

Currently ENOMEM is returned when MHI ring is full. This error code is
very misleading. Change to EAGAIN instead.

Signed-off-by: Fan Wu <wufan@xxxxxxxxxxxxxx>
Signed-off-by: Jeffrey Hugo <jhugo@xxxxxxxxxxxxxx>
---
Reviewed-by: Hemant Kumar <hemantk@xxxxxxxxxxxxxx>
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project