diff options
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | 2011-01-03 17:33:47 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-01-04 22:16:11 -0500 |
commit | 9c132992689d7d27a4e17545b6279db4e03c0943 (patch) | |
tree | d325746290ec84b1b7e03b546c8f585048cbe28a /drivers/dma | |
parent | b05cd8f4c04a29eebfa65c45fabc78a02f16a782 (diff) |
ARM: PL08x: prefix hex numbers with 0x
A driver which emits both decimal and hex numbers in its printk
creates confusion as to what is what. Prefix hex numbers with 0x.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/amba-pl08x.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 75ab4e47a153..c61774a3630e 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c | |||
@@ -199,8 +199,8 @@ static void pl08x_set_cregs(struct pl08x_driver_data *pl08x, | |||
199 | ; | 199 | ; |
200 | 200 | ||
201 | dev_vdbg(&pl08x->adev->dev, | 201 | dev_vdbg(&pl08x->adev->dev, |
202 | "WRITE channel %d: csrc=%08x, cdst=%08x, " | 202 | "WRITE channel %d: csrc=0x%08x, cdst=0x%08x, " |
203 | "cctl=%08x, clli=%08x, ccfg=%08x\n", | 203 | "cctl=0x%08x, clli=0x%08x, ccfg=0x%08x\n", |
204 | ch->id, | 204 | ch->id, |
205 | ch->csrc, | 205 | ch->csrc, |
206 | ch->cdst, | 206 | ch->cdst, |
@@ -731,7 +731,7 @@ static int pl08x_fill_llis_for_desc(struct pl08x_driver_data *pl08x, | |||
731 | while (remainder) { | 731 | while (remainder) { |
732 | dev_vdbg(&pl08x->adev->dev, | 732 | dev_vdbg(&pl08x->adev->dev, |
733 | "%s single byte LLIs for a transfer of " | 733 | "%s single byte LLIs for a transfer of " |
734 | "less than a bus width (remain %08x)\n", | 734 | "less than a bus width (remain 0x%08x)\n", |
735 | __func__, remainder); | 735 | __func__, remainder); |
736 | cctl = pl08x_cctl_bits(cctl, 1, 1, 1); | 736 | cctl = pl08x_cctl_bits(cctl, 1, 1, 1); |
737 | num_llis = | 737 | num_llis = |
@@ -747,7 +747,7 @@ static int pl08x_fill_llis_for_desc(struct pl08x_driver_data *pl08x, | |||
747 | while ((mbus->addr) % (mbus->buswidth)) { | 747 | while ((mbus->addr) % (mbus->buswidth)) { |
748 | dev_vdbg(&pl08x->adev->dev, | 748 | dev_vdbg(&pl08x->adev->dev, |
749 | "%s adjustment lli for less than bus width " | 749 | "%s adjustment lli for less than bus width " |
750 | "(remain %08x)\n", | 750 | "(remain 0x%08x)\n", |
751 | __func__, remainder); | 751 | __func__, remainder); |
752 | cctl = pl08x_cctl_bits(cctl, 1, 1, 1); | 752 | cctl = pl08x_cctl_bits(cctl, 1, 1, 1); |
753 | num_llis = pl08x_fill_lli_for_desc | 753 | num_llis = pl08x_fill_lli_for_desc |
@@ -865,7 +865,7 @@ static int pl08x_fill_llis_for_desc(struct pl08x_driver_data *pl08x, | |||
865 | 865 | ||
866 | if (target_len != lli_len) { | 866 | if (target_len != lli_len) { |
867 | dev_vdbg(&pl08x->adev->dev, | 867 | dev_vdbg(&pl08x->adev->dev, |
868 | "%s can't send what we want. Desired %08x, lli of %08x bytes in txd of %08x\n", | 868 | "%s can't send what we want. Desired 0x%08x, lli of 0x%08x bytes in txd of 0x%08x\n", |
869 | __func__, target_len, lli_len, txd->len); | 869 | __func__, target_len, lli_len, txd->len); |
870 | } | 870 | } |
871 | 871 | ||
@@ -875,7 +875,7 @@ static int pl08x_fill_llis_for_desc(struct pl08x_driver_data *pl08x, | |||
875 | tsize); | 875 | tsize); |
876 | 876 | ||
877 | dev_vdbg(&pl08x->adev->dev, | 877 | dev_vdbg(&pl08x->adev->dev, |
878 | "%s fill lli with single lli chunk of size %08x (remainder %08x)\n", | 878 | "%s fill lli with single lli chunk of size 0x%08x (remainder 0x%08x)\n", |
879 | __func__, lli_len, remainder); | 879 | __func__, lli_len, remainder); |
880 | num_llis = pl08x_fill_lli_for_desc(pl08x, txd, | 880 | num_llis = pl08x_fill_lli_for_desc(pl08x, txd, |
881 | num_llis, lli_len, cctl, | 881 | num_llis, lli_len, cctl, |
@@ -894,7 +894,7 @@ static int pl08x_fill_llis_for_desc(struct pl08x_driver_data *pl08x, | |||
894 | && (remainder); j++) { | 894 | && (remainder); j++) { |
895 | cctl = pl08x_cctl_bits(cctl, 1, 1, 1); | 895 | cctl = pl08x_cctl_bits(cctl, 1, 1, 1); |
896 | dev_vdbg(&pl08x->adev->dev, | 896 | dev_vdbg(&pl08x->adev->dev, |
897 | "%s align with boundary, single byte (remain %08x)\n", | 897 | "%s align with boundary, single byte (remain 0x%08x)\n", |
898 | __func__, remainder); | 898 | __func__, remainder); |
899 | num_llis = | 899 | num_llis = |
900 | pl08x_fill_lli_for_desc(pl08x, | 900 | pl08x_fill_lli_for_desc(pl08x, |
@@ -979,7 +979,7 @@ static int pl08x_fill_llis_for_desc(struct pl08x_driver_data *pl08x, | |||
979 | 979 | ||
980 | for (i = 0; i < num_llis; i++) { | 980 | for (i = 0; i < num_llis; i++) { |
981 | dev_vdbg(&pl08x->adev->dev, | 981 | dev_vdbg(&pl08x->adev->dev, |
982 | "lli %d @%p: csrc=%08x, cdst=%08x, cctl=%08x, clli=%08x\n", | 982 | "lli %d @%p: csrc=0x%08x, cdst=0x%08x, cctl=0x%08x, clli=0x%08x\n", |
983 | i, | 983 | i, |
984 | &llis_va[i], | 984 | &llis_va[i], |
985 | llis_va[i].src, | 985 | llis_va[i].src, |
@@ -1289,7 +1289,7 @@ static void dma_set_runtime_config(struct dma_chan *chan, | |||
1289 | 1289 | ||
1290 | dev_dbg(&pl08x->adev->dev, | 1290 | dev_dbg(&pl08x->adev->dev, |
1291 | "configured channel %s (%s) for %s, data width %d, " | 1291 | "configured channel %s (%s) for %s, data width %d, " |
1292 | "maxburst %d words, LE, CCTL=%08x, CCFG=%08x\n", | 1292 | "maxburst %d words, LE, CCTL=0x%08x, CCFG=0x%08x\n", |
1293 | dma_chan_name(chan), plchan->name, | 1293 | dma_chan_name(chan), plchan->name, |
1294 | (config->direction == DMA_FROM_DEVICE) ? "RX" : "TX", | 1294 | (config->direction == DMA_FROM_DEVICE) ? "RX" : "TX", |
1295 | addr_width, | 1295 | addr_width, |