commit | a3aeb0308f474f5aa9cf5693a66d2c7ea6b15a40 | [log] [tgz] |
---|---|---|
author | Satyajit Desai <sadesai@codeaurora.org> | Mon Feb 06 16:57:08 2017 -0800 |
committer | Satyajit Desai <sadesai@codeaurora.org> | Thu Feb 09 14:30:48 2017 -0800 |
tree | a49a8fbff0c636ebc5fa204ed12574a93b74afd6 | |
parent | 80c8b0a4fe8a1311befdc5872ab3faafbbf28ac8 [diff] |
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: Satyajit Desai <sadesai@codeaurora.org>