Update va-macro ioremap offset properly during probe. Change-Id: I3c4b1d6ba24b7935c3ba047059f72ed06bdafe4f Signed-off-by: Sudheer Papothi <[email protected]>
@@ -1632,7 +1632,7 @@ static int va_macro_probe(struct platform_device *pdev)
}
va_io_base = devm_ioremap(&pdev->dev, va_base_addr,
- VA_MAX_OFFSET);
+ VA_MACRO_MAX_OFFSET);
if (!va_io_base) {
dev_err(&pdev->dev, "%s: ioremap failed\n", __func__);
return -EINVAL;