Re: [PATCH v1] platform/surface: aggregator: fix recv_buf() return value

From: Ilpo Järvinen
Date: Wed Nov 29 2023 - 06:21:30 EST


On Tue, 28 Nov 2023 20:49:35 +0100, Francesco Dolcini wrote:

> Serdev recv_buf() callback is supposed to return the amount of bytes
> consumed, therefore an int in between 0 and count.
>
> Do not return negative number in case of issue, when
> ssam_controller_receive_buf() returns ESHUTDOWN just returns 0, e.g. no
> bytes consumed, this keep the exact same behavior as it was before.
>
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo branch. Note it will show up in the public
platform-drivers-x86/review-ilpo branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/surface: aggregator: fix recv_buf() return value
commit: c8820c92caf0770bec976b01fa9e82bb993c5865

--
i.