Skip to content
Commit 1f0a5cbf authored by Liviu Dudau's avatar Liviu Dudau Committed by Vinod Koul
Browse files

dmaengine: Fix allocation size for PL330 data buffer depth.



The datasheet for PL330 says that the data buffer value in the CRD
register is 10bits wide. However, the value stored is "minus one",
which the driver corrects for. Maximum value that the data buffer
depth can have is 1024 lines, which requires 11 bits for storage.

While making updates I found printing the peripheral ID as a hex
value to be more useful as the datasheet shows the values that way.

Signed-off-by: default avatarLiviu Dudau <Liviu.Dudau@arm.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent c27f9556
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment