diff options
| author | Sanket Parmar <[email protected]> | 2021-03-22 11:26:30 +0100 |
|---|---|---|
| committer | Peter Chen <[email protected]> | 2021-04-12 20:19:22 +0800 |
| commit | 8430e98f2c877e2034e5a5adaa6bf0b4a3041e1d (patch) | |
| tree | 0ec0f483c7e0f20b07da649264047c6596462877 /tools/perf/scripts/python | |
| parent | b9b1eae761eeae665824ca6ef7f91da4fc798ebb (diff) | |
usb: cdns3: Optimize DMA request buffer allocation
dma_alloc_coherent() might fail on the platform with a small
DMA region.
To avoid such failure in cdns3_prepare_aligned_request_buf(),
dma_alloc_coherent() is replaced with dma_alloc_noncoherent()
to allocate aligned request buffer of dynamic length.
Reported-by: Aswath Govindraju <[email protected]>
Signed-off-by: Sanket Parmar <[email protected]>
Signed-off-by: Peter Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions