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

Commit e0d34dab authored by Stephen Boyd's avatar Stephen Boyd
Browse files

msm: vidc: Use readl_poll_timeout() correctly



The first argument to this function is a void __iomem *, not an
unsigned long.

Change-Id: I635bb100b1bc167ebc3f1c927737a3fd7a363178
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent ea5c6af9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1035,8 +1035,7 @@ static int venus_hfi_halt_axi(struct venus_hfi_device *device)
	venus_hfi_write_register(device, VENUS_VBIF_AXI_HALT_CTRL0, reg, 0);

	/* Request for AXI bus port halt */
	rc = readl_poll_timeout(
			(unsigned long)device->hal_data->register_base_addr
	rc = readl_poll_timeout(device->hal_data->register_base_addr
			+ VENUS_VBIF_AXI_HALT_CTRL1,
			reg, reg & VENUS_VBIF_AXI_HALT_CTRL1_HALT_ACK,
			POLL_INTERVAL_US,