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

Commit af462cfa authored by Jordan Crouse's avatar Jordan Crouse
Browse files

msm: kgsl: Remove some spammy log messages



We should not be printing a log message every time the KGSL device
is opened, nor should we print a log message for properties that
are intentionally not available on some targets.

Change-Id: Ic0dedbadb75338e8b5fa7a414733160de5049fa9
Signed-off-by: default avatarJordan Crouse <jcrouse@codeaurora.org>
parent 879cdf53
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1494,11 +1494,10 @@ static int adreno_of_get_pdata(struct platform_device *pdev)
		goto err;

	/* get pm-qos-latency from target, set it to default if not found */
	if (adreno_of_read_property(pdev->dev.of_node, "qcom,pm-qos-latency",
	if (of_property_read_u32(pdev->dev.of_node, "qcom,pm-qos-latency",
		&pdata->pm_qos_latency))
		pdata->pm_qos_latency = 501;


	if (adreno_of_read_property(pdev->dev.of_node, "qcom,idle-timeout",
		&pdata->idle_timeout))
		pdata->idle_timeout = HZ/12;
+3 −2
Original line number Diff line number Diff line
@@ -1071,8 +1071,6 @@ static int kgsl_open(struct inode *inodep, struct file *filep)
		goto err_stop;
	}

	dev_info(device->dev, "Initialized %s: mmu=%s\n", device->name,
		kgsl_mmu_enabled() ? "on" : "off");

	return result;

@@ -4227,6 +4225,9 @@ int kgsl_device_platform_probe(struct kgsl_device *device)
	/* Initialize common sysfs entries */
	kgsl_pwrctrl_init_sysfs(device);

	dev_info(device->dev, "Initialized %s: mmu=%s\n", device->name,
		kgsl_mmu_enabled() ? "on" : "off");

	return 0;

error_close_mmu: