Commit 5314adc3612d893c7cc526b3312d124805e45bc3
1 parent
02b7cbc399
Exists in
master
and in
7 other branches
ASoC: Fix formats for s3c24xx-i2s register prints
The register values are all u32 so don't need the long format. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Showing 1 changed file with 8 additions and 8 deletions Side-by-side Diff
sound/soc/s3c24xx/s3c24xx-i2s.c
... | ... | @@ -83,7 +83,7 @@ |
83 | 83 | iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON); |
84 | 84 | iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); |
85 | 85 | |
86 | - pr_debug("r: IISCON: %lx IISMOD: %lx IISFCON: %lx\n", iiscon, iismod, iisfcon); | |
86 | + pr_debug("r: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon); | |
87 | 87 | |
88 | 88 | if (on) { |
89 | 89 | iisfcon |= S3C2410_IISFCON_TXDMA | S3C2410_IISFCON_TXENABLE; |
... | ... | @@ -113,7 +113,7 @@ |
113 | 113 | writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD); |
114 | 114 | } |
115 | 115 | |
116 | - pr_debug("w: IISCON: %lx IISMOD: %lx IISFCON: %lx\n", iiscon, iismod, iisfcon); | |
116 | + pr_debug("w: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon); | |
117 | 117 | } |
118 | 118 | |
119 | 119 | static void s3c24xx_snd_rxctrl(int on) |
... | ... | @@ -128,7 +128,7 @@ |
128 | 128 | iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON); |
129 | 129 | iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); |
130 | 130 | |
131 | - pr_debug("r: IISCON: %lx IISMOD: %lx IISFCON: %lx\n", iiscon, iismod, iisfcon); | |
131 | + pr_debug("r: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon); | |
132 | 132 | |
133 | 133 | if (on) { |
134 | 134 | iisfcon |= S3C2410_IISFCON_RXDMA | S3C2410_IISFCON_RXENABLE; |
... | ... | @@ -158,7 +158,7 @@ |
158 | 158 | writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD); |
159 | 159 | } |
160 | 160 | |
161 | - pr_debug("w: IISCON: %lx IISMOD: %lx IISFCON: %lx\n", iiscon, iismod, iisfcon); | |
161 | + pr_debug("w: IISCON: %x IISMOD: %x IISFCON: %x\n", iiscon, iismod, iisfcon); | |
162 | 162 | } |
163 | 163 | |
164 | 164 | /* |
... | ... | @@ -206,7 +206,7 @@ |
206 | 206 | pr_debug("Entered %s\n", __func__); |
207 | 207 | |
208 | 208 | iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); |
209 | - pr_debug("hw_params r: IISMOD: %lx \n", iismod); | |
209 | + pr_debug("hw_params r: IISMOD: %x \n", iismod); | |
210 | 210 | |
211 | 211 | switch (fmt & SND_SOC_DAIFMT_MASTER_MASK) { |
212 | 212 | case SND_SOC_DAIFMT_CBM_CFM: |
... | ... | @@ -231,7 +231,7 @@ |
231 | 231 | } |
232 | 232 | |
233 | 233 | writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD); |
234 | - pr_debug("hw_params w: IISMOD: %lx \n", iismod); | |
234 | + pr_debug("hw_params w: IISMOD: %x \n", iismod); | |
235 | 235 | return 0; |
236 | 236 | } |
237 | 237 | |
... | ... | @@ -251,7 +251,7 @@ |
251 | 251 | |
252 | 252 | /* Working copies of register */ |
253 | 253 | iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); |
254 | - pr_debug("hw_params r: IISMOD: %lx\n", iismod); | |
254 | + pr_debug("hw_params r: IISMOD: %x\n", iismod); | |
255 | 255 | |
256 | 256 | switch (params_format(params)) { |
257 | 257 | case SNDRV_PCM_FORMAT_S8: |
... | ... | @@ -269,7 +269,7 @@ |
269 | 269 | } |
270 | 270 | |
271 | 271 | writel(iismod, s3c24xx_i2s.regs + S3C2410_IISMOD); |
272 | - pr_debug("hw_params w: IISMOD: %lx\n", iismod); | |
272 | + pr_debug("hw_params w: IISMOD: %x\n", iismod); | |
273 | 273 | return 0; |
274 | 274 | } |
275 | 275 |