Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 2c6fd882 authored by Mulu He's avatar Mulu He Committed by Gerrit - the friendly Code Review server
Browse files

coresight: tmc: Fix buffer size can't change issue



The sysfs interface "buffer_size" is not workable due to drvdata->etr_buf
is valid. When the buffer size changed by userspace, the memory did not
re-allocated. To fix this free allocated memory when ETR sink is disabled.

Change-Id: I3a8b85408a60c4f54a2ff5b6ac83236ed1c985c5
Signed-off-by: default avatarMulu He <muluhe@codeaurora.org>
parent 0e75c141
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