diff options
| author | Marek Szyprowski <[email protected]> | 2015-07-31 10:58:27 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2015-08-04 22:07:23 -0700 |
| commit | 81ccb2a69f76b88295a1da9fc9484df715fe3bfa (patch) | |
| tree | d2aaff91175f5c1d578b8e19eb916fec668e9fe4 /tools/perf/scripts/python | |
| parent | 9e31364fc3272073ec8c5fac18a3e01d4f013418 (diff) | |
serial: samsung: fix DMA mode enter condition for small FIFO sizes
Due to some of serial ports can have FIFO size smaller than cache line
size, and because of need to align DMA buffer address to cache line size,
it's necessary to calculate minimum number of bytes for which we want
to start DMA transaction to be at least cache line size. The simplest
way to meet this requirement is to get maximum of cache line size and
FIFO size.
Cc: <[email protected]> # v3.18+
Reported-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Marek Szyprowski <[email protected]>
Signed-off-by: Robert Baldyga <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions