Re: [PATCH v7 06/13] slimbus: Add messaging APIs to slimbus framework

From: Srinivas Kandagatla
Date: Tue Nov 28 2017 - 02:18:32 EST




On 27/11/17 05:56, Vinod Koul wrote:
On Mon, Nov 20, 2017 at 06:47:52AM +0000, Srinivas Kandagatla wrote:

+ * -ENOTCONN: If the transmitted message was not ACKed by destination
+ * device.

I am preferring ENODATA in SDW for this case, as Slaves didnt respond or
ACK.
Isn't that a timeout error then.

ENODATA is for "No data available", reporting ENODATA would be misleading.

Do you get a explict NACK or no response for this

There is no response for the request, currently code waits for it arrive and then timesout on completion.