Skip to content
Commit fd167f7a authored by Jett Rink's avatar Jett Rink Committed by Enric Balletbo i Serra
Browse files

platform/chrome: cros_ec_ishtp: free ishtp buffer before sending event



Recycle the ISH buffer before notifying of a response or an event. Often
a new message is sent in response to an event and in high traffic
scenarios this can lead to exhausting all available buffers. We can
ensure we are using the fewest buffers possible by freeing buffers as
soon as they are used.

Signed-off-by: default avatarJett Rink <jettrink@chromium.org>
Signed-off-by: default avatarMathew King <mathewk@chromium.org>
Signed-off-by: default avatarEnric Balletbo i Serra <enric.balletbo@collabora.com>
parent 0f706b4f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment