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

Commit eb798d82 authored by Lina Iyer's avatar Lina Iyer Committed by Tushar Nimkar
Browse files

firmware: scm: Remove arch check for dma_set_mask



Remove the preprocessor if statement for checking the arch of the
target since this will not affect targets with a 32bit address space. This
change allows the driver to be compiled and used for targets that do not
define CONFIG_ARM64.

Change-Id: I6fc11e86d6799099fdaeec46df6d7093c1ca117f
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
Signed-off-by: default avatarTushar Nimkar <tnimkar@codeaurora.org>
Signed-off-by: default avatarSiddharth Gupta <sidgup@codeaurora.org>
parent 963b168f
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -1093,11 +1093,9 @@ static int qcom_scm_probe(struct platform_device *pdev)

	__qcom_scm_init();

#if CONFIG_ARM64
	ret = dma_set_mask(&pdev->dev, DMA_BIT_MASK(64));
	if (ret)
		return ret;
#endif

	return 0;
}