diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2019-08-29 17:04:20 +0300 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2019-09-10 16:19:03 +0800 |
commit | 980fe1ab2ad6a449639928d7a7e9c0aadb41a495 (patch) | |
tree | ba95f22ec3aaf6a44cdef8e8c011ec8da1340d48 /Licenses/r8a779x_usb3.txt | |
parent | 0c6352ec2a238c1f89b0f394b34da57ab0849f6a (diff) |
x86: tangier: Fix off-by-one error when preparing CSRT
Intel iDMA 32-bit controller has 17 bits for the maximum block size value.
Due to nature of the binary number representation the maximum value is
2^17 - 1. The original code misses the latter part in equation.
Fixes: 5e99fde34a77 ("x86: tangier: Populate CSRT for shared DMA controller")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'Licenses/r8a779x_usb3.txt')
0 files changed, 0 insertions, 0 deletions