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

Commit e83f214e authored by David S. Miller's avatar David S. Miller
Browse files

[SPARC64]: Compute dma_end argument to sabre_pbm_init() correctly.



virtual-dma property layout is [start, size] not [start, end].

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ce9e3d99
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1465,5 +1465,5 @@ void sabre_init(struct device_node *dp, char *model_name)
	/*
	 * Look for APB underneath.
	 */
	sabre_pbm_init(p, dp, vdma[0], vdma[1]);
	sabre_pbm_init(p, dp, vdma[0], vdma[0] + vdma[1]);
}