commit | 613092b437b8609321331a57d6136f88d3ac5bdf | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Thu Aug 29 17:04:20 2019 +0300 |
committer | Bin Meng <bmeng.cn@gmail.com> | Tue Sep 10 16:19:03 2019 +0800 |
tree | ba95f22ec3aaf6a44cdef8e8c011ec8da1340d48 | |
parent | b04ef3ba49483e96d59f6d79f69bcbcb5b13c4e4 [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>