diff options
author | Dave Jiang <dave.jiang@intel.com> | 2022-04-12 00:11:16 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-04-20 13:47:33 +0200 |
commit | 23084545dbb0ac0d1f0acad915bdeed7bd5f48cd (patch) | |
tree | d8890a26513f1f8927a97b3a07cc2800caf8d0f6 /drivers/atm/midway.h | |
parent | dmaengine: idxd: set DMA_INTERRUPT cap bit (diff) | |
download | linux-23084545dbb0ac0d1f0acad915bdeed7bd5f48cd.tar.xz linux-23084545dbb0ac0d1f0acad915bdeed7bd5f48cd.zip |
dmaengine: idxd: set max_xfer and max_batch for RO device
Load the max_xfer_size and max_batch_size values from the values read from
registers to the shadow variables. This will allow the read-only device to
display the correct values for the sysfs attributes.
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/164971507673.2201761.11244446608988838897.stgit@djiang5-desk3.ch.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/atm/midway.h')
0 files changed, 0 insertions, 0 deletions