Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 27eacce6 authored by Hemant Kumar's avatar Hemant Kumar Committed by Stephen Boyd
Browse files

USB: dwc3: Fix compilation error to support LPAE



Targets having Large physical address extension support
enabled (CONFIG_ARM_LPAE) phys_addr_t and dma_addr_t
become 64-bit type(u64). Driver needs to use %pa when
printing physical address where physical address is passed
by reference.

Also, change coherent dma mask from 32 to 64 bit otherwise
dma_alloc_coherent failes due to smaller dma mask used than
system GFP_DMA mask when LPAE is enabled.

Change-Id: I648d16db4734e052318fe6003cee4690c27a6969
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent a62afd39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment