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

Skip to content
Commit a3aeb030 authored by Satyajit Desai's avatar Satyajit Desai
Browse files

coresight-tmc-etr: Fix to correct the size of buf read in sg



The size of data to be read from the buffer is dependent on the
position of the read-write pointer. In scatter-gather mode there
is no straight forward relation between the two. This change
addresses the issue where we are incorrectly using the linear
relation and end up with an invalid buffer size.

Change-Id: I2d73af7ebb3680c0a39ae8b7ec7efb59a319dd78
Signed-off-by: default avatarSatyajit Desai <sadesai@codeaurora.org>
parent 80c8b0a4
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