diff options
| author | Andrey Shvetsov <[email protected]> | 2017-04-07 15:38:38 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-04-08 12:41:40 +0200 |
| commit | f500192890c7c6745a92b677f5f69e58a2d60715 (patch) | |
| tree | cf91d9afdafdea53a895102ef9b6726e132862f4 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 2c4aaa1fffe8d01c621e2515cd5f290227949e71 (diff) | |
staging: most: usb: fix calculation of the extra_len
The final size of the buffer used for the streaming transfer consists of
the size for the user payload (buffer_size) and the size for the gaps
needed by the controller (extra_len).
The current implementation of the hdm_configure_channel() corrects the
buffer size down to the next appropriate for the hardware value, that is
the whole number of frames, but uses the old unaligned value to
calculate the extra_len.
Current patch fixes the described problem.
Signed-off-by: Andrey Shvetsov <[email protected]>
Signed-off-by: Christian Gromm <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions