Commit fb07c900 authored by Punnaiah Choudary Kalluri's avatar Punnaiah Choudary Kalluri Committed by Michal Simek
Browse files

dma: zynqmp: Minor code cleanup and fixes



- Added error check for platform_get_irq return value.
- Added condition for validating the bus-width permitted values.
- Initialize the dma attributes before reading them from the DT node
for avoiding the errors checks for each attribute.
- Framework expects bus-width in bytes. so, fixed it.

Signed-off-by: default avatarPunnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: default avatarMichal Simek <michal.simek@xilinx.com>
parent ecc7cd99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment