Home
last modified time | relevance | path

Searched hist:b3b55a6bd59edba86fd71de439b87092b8b853b9 (Results 1 – 1 of 1) sorted by relevance

/openbmc/libmctp/
H A Dastlpc.cdiff b3b55a6bd59edba86fd71de439b87092b8b853b9 Sun Jul 05 23:04:18 CDT 2020 Andrew Jeffery <andrew@aj.id.au> astlpc: Clear OBF during binding initialisation

Whatever the buffer ownership state was previously, it is now irrelevant
as we're initialising the binding. Ensure that we don't accidentally
block initialisation due to the host failing to consume the previous KCS
command (which implies OBF is set and therefore we would block on
sending the dummy command).

The relevant callsites for mctp_astlpc_kcs_set_status() were aleady
setting KCS_STATUS_OBF in the status value passed to the function,
therefore it's not necessary for the function to set it explicitly.
Removing the explicit KCS_STATUS_OBF from mctp_astlpc_kcs_set_status()
to make way for correct use in mctp_astlpc_init_bmc().

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I54266ee4459115e993af2ad6665252887c27ab3e