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

Commit a06b62f8 authored by Sumit Semwal's avatar Sumit Semwal Committed by Tomi Valkeinen
Browse files

OMAP2,3: DSS2: replace printk with dev_dbg in init



This patch replaces printk's in the init/probe functions to dev_dbg
for boot time optimization.

Reviewed-by: default avatarKevin Hilman <khilman@ti.com>
Tested-by: default avatarKevin Hilman <khilman@ti.com>
Signed-off-by: default avatarSumit Semwal <sumit.semwal@ti.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent c8aac01b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3350,7 +3350,7 @@ static int omap_dispchw_probe(struct platform_device *pdev)
	dispc_save_context();

	rev = dispc_read_reg(DISPC_REVISION);
	printk(KERN_INFO "OMAP DISPC rev %d.%d\n",
	dev_dbg(&pdev->dev, "OMAP DISPC rev %d.%d\n",
	       FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));

	enable_clocks(0);
+1 −1
Original line number Diff line number Diff line
@@ -3300,7 +3300,7 @@ static int dsi_init(struct platform_device *pdev)
	enable_clocks(1);

	rev = dsi_read_reg(DSI_REVISION);
	printk(KERN_INFO "OMAP DSI rev %d.%d\n",
	dev_dbg(&pdev->dev, "OMAP DSI rev %d.%d\n",
	       FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));

	enable_clocks(0);
+1 −1
Original line number Diff line number Diff line
@@ -1046,7 +1046,7 @@ static int omap_rfbihw_probe(struct platform_device *pdev)
	rfbi_write_reg(RFBI_SYSCONFIG, l);

	rev = rfbi_read_reg(RFBI_REVISION);
	printk(KERN_INFO "OMAP RFBI rev %d.%d\n",
	dev_dbg(&pdev->dev, "OMAP RFBI rev %d.%d\n",
	       FLD_GET(rev, 7, 4), FLD_GET(rev, 3, 0));

	rfbi_enable_clocks(0);
+1 −1
Original line number Diff line number Diff line
@@ -739,7 +739,7 @@ static int omap_venchw_probe(struct platform_device *pdev)
	venc_enable_clocks(1);

	rev_id = (u8)(venc_read_reg(VENC_REV_ID) & 0xff);
	printk(KERN_INFO "OMAP VENC rev %d\n", rev_id);
	dev_dbg(&pdev->dev, "OMAP VENC rev %d\n", rev_id);

	venc_enable_clocks(0);