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

Commit 6d90e7ab authored by Jayant Shekhar's avatar Jayant Shekhar
Browse files

msm: mdss: Print buffer len in hex



Buffer len is currently printed in decimal while
address in hex. Change this to print buffer len
in hex.

Change-Id: I0c90d45806c988e59d6239519544dd80f7b5f306
Signed-off-by: default avatarJayant Shekhar <jshekhar@codeaurora.org>
parent 05d830e1
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
/* Copyright (c) 2012-2014, The Linux Foundation. All rights reserved.
/* Copyright (c) 2012-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
@@ -599,7 +599,7 @@ static int mdss_mdp_get_img(struct msmfb_data *img,
		data->addr += data->offset;
		data->len -= data->offset;

		pr_debug("mem=%d ihdl=%p buf=0x%pa len=0x%lu\n", img->memory_id,
		pr_debug("mem=%d ihdl=%p buf=0x%pa len=0x%lx\n", img->memory_id,
			 data->srcp_ihdl, &data->addr, data->len);
	} else {
		mdss_mdp_put_img(data);
@@ -652,7 +652,7 @@ static int mdss_mdp_map_buffer(struct mdss_mdp_img_data *data)
		data->addr += data->offset;
		data->len -= data->offset;

		pr_debug("ihdl=%p buf=0x%pa len=0x%lu\n",
		pr_debug("ihdl=%p buf=0x%pa len=0x%lx\n",
			 data->srcp_ihdl, &data->addr, data->len);
	} else {
		mdss_mdp_put_img(data);