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

Commit 7adf07d2 authored by Sarangdhar Joshi's avatar Sarangdhar Joshi
Browse files

coresight: replace dev_info() with dev_dbg() from driver probe()



Currently, coresight drivers are logging a dev_info() message in
probe() function for each device. This logging spew could fill up
kernel log buffer quickly pushing useful information out of log
buffer (particularly when target supports multiple coresight
devices of same type). Replace this logging with dev_dbg() from
coresight drivers to make kernel logs less verbose.

Change-Id: I7f7659fc39d1634a10274bf7df310a6edd1ec9e1
Signed-off-by: default avatarSarangdhar Joshi <spjoshi@codeaurora.org>
parent 7af2265a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2013-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2013-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -1501,7 +1501,7 @@ static int cti_probe(struct platform_device *pdev)
		goto err;
	}

	dev_info(dev, "CTI initialized\n");
	dev_dbg(dev, "CTI initialized\n");
	return 0;
err:
	if (drvdata->cti_save && !drvdata->cti_hwclk)
+2 −2
Original line number Diff line number Diff line
/* Copyright (c) 2011-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2011-2015, The Linux Foundation. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
@@ -313,7 +313,7 @@ static int funnel_probe(struct platform_device *pdev)
		}
	}
out:
	dev_info(dev, "FUNNEL initialized\n");
	dev_dbg(dev, "FUNNEL initialized\n");
	return 0;
}

+1 −1
Original line number Diff line number Diff line
@@ -714,7 +714,7 @@ static int tpda_probe(struct platform_device *pdev)
	if (IS_ERR(drvdata->csdev))
		return PTR_ERR(drvdata->csdev);

	dev_info(drvdata->dev, "TPDA initialized\n");
	dev_dbg(drvdata->dev, "TPDA initialized\n");
	return 0;
}

+1 −1
Original line number Diff line number Diff line
@@ -3491,7 +3491,7 @@ static int tpdm_probe(struct platform_device *pdev)
	if (IS_ERR(drvdata->csdev))
		return PTR_ERR(drvdata->csdev);

	dev_info(drvdata->dev, "TPDM initialized\n");
	dev_dbg(drvdata->dev, "TPDM initialized\n");

	if (boot_enable)
		coresight_enable(drvdata->csdev);