Browse Source

Merge "ASoC: bolero: va-macro: Fix ioremap in va macro probe"

qctecmdr 6 years ago
parent
commit
b1a49c6b67
1 changed files with 1 additions and 1 deletions
  1. 1 1
      asoc/codecs/bolero/va-macro.c

+ 1 - 1
asoc/codecs/bolero/va-macro.c

@@ -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;