diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-11-17 13:37:10 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-12-05 13:54:28 +0530 |
commit | 390c49f7174a85d88ec080058d8b5c2e301d3f6b (patch) | |
tree | a44a74f1ed1659a72ce04a3ed3ffcaf547af1faf /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c | |
parent | ac02979413e0310f85bbcc2945d65da7071c08fe (diff) |
dmaengine: idma64: use local variable to index descriptor
Since a local variable contains the number of hardware desriptors at the
beginning of idma64_desc_fill() we may use it to index the last descriptor as
well.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions