Name

hsi_flush — Flush all pending transactions on the client's port

Synopsis

int hsi_flush (struct hsi_client * cl);
 

Arguments

cl

Pointer to the HSI client

Description

This function will destroy all pending hsi_msg in the port and reset the HW port so it is ready to receive and transmit from a clean state.

Return -errno on failure, 0 on success