diff options
Diffstat (limited to 'sound/soc/s3c24xx/s3c24xx-i2s.c')
-rw-r--r-- | sound/soc/s3c24xx/s3c24xx-i2s.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/sound/soc/s3c24xx/s3c24xx-i2s.c b/sound/soc/s3c24xx/s3c24xx-i2s.c index 0a3c630951be..301002cd3fc8 100644 --- a/sound/soc/s3c24xx/s3c24xx-i2s.c +++ b/sound/soc/s3c24xx/s3c24xx-i2s.c | |||
@@ -89,7 +89,7 @@ static void s3c24xx_snd_txctrl(int on) | |||
89 | u32 iiscon; | 89 | u32 iiscon; |
90 | u32 iismod; | 90 | u32 iismod; |
91 | 91 | ||
92 | DBG("Entered %s\n", __FUNCTION__); | 92 | DBG("Entered %s\n", __func__); |
93 | 93 | ||
94 | iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON); | 94 | iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON); |
95 | iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON); | 95 | iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON); |
@@ -134,7 +134,7 @@ static void s3c24xx_snd_rxctrl(int on) | |||
134 | u32 iiscon; | 134 | u32 iiscon; |
135 | u32 iismod; | 135 | u32 iismod; |
136 | 136 | ||
137 | DBG("Entered %s\n", __FUNCTION__); | 137 | DBG("Entered %s\n", __func__); |
138 | 138 | ||
139 | iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON); | 139 | iisfcon = readl(s3c24xx_i2s.regs + S3C2410_IISFCON); |
140 | iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON); | 140 | iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON); |
@@ -182,7 +182,7 @@ static int s3c24xx_snd_lrsync(void) | |||
182 | u32 iiscon; | 182 | u32 iiscon; |
183 | unsigned long timeout = jiffies + msecs_to_jiffies(5); | 183 | unsigned long timeout = jiffies + msecs_to_jiffies(5); |
184 | 184 | ||
185 | DBG("Entered %s\n", __FUNCTION__); | 185 | DBG("Entered %s\n", __func__); |
186 | 186 | ||
187 | while (1) { | 187 | while (1) { |
188 | iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON); | 188 | iiscon = readl(s3c24xx_i2s.regs + S3C2410_IISCON); |
@@ -201,7 +201,7 @@ static int s3c24xx_snd_lrsync(void) | |||
201 | */ | 201 | */ |
202 | static inline int s3c24xx_snd_is_clkmaster(void) | 202 | static inline int s3c24xx_snd_is_clkmaster(void) |
203 | { | 203 | { |
204 | DBG("Entered %s\n", __FUNCTION__); | 204 | DBG("Entered %s\n", __func__); |
205 | 205 | ||
206 | return (readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & S3C2410_IISMOD_SLAVE) ? 0:1; | 206 | return (readl(s3c24xx_i2s.regs + S3C2410_IISMOD) & S3C2410_IISMOD_SLAVE) ? 0:1; |
207 | } | 207 | } |
@@ -214,7 +214,7 @@ static int s3c24xx_i2s_set_fmt(struct snd_soc_cpu_dai *cpu_dai, | |||
214 | { | 214 | { |
215 | u32 iismod; | 215 | u32 iismod; |
216 | 216 | ||
217 | DBG("Entered %s\n", __FUNCTION__); | 217 | DBG("Entered %s\n", __func__); |
218 | 218 | ||
219 | iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); | 219 | iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); |
220 | DBG("hw_params r: IISMOD: %lx \n", iismod); | 220 | DBG("hw_params r: IISMOD: %lx \n", iismod); |
@@ -250,7 +250,7 @@ static int s3c24xx_i2s_hw_params(struct snd_pcm_substream *substream, | |||
250 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | 250 | struct snd_soc_pcm_runtime *rtd = substream->private_data; |
251 | u32 iismod; | 251 | u32 iismod; |
252 | 252 | ||
253 | DBG("Entered %s\n", __FUNCTION__); | 253 | DBG("Entered %s\n", __func__); |
254 | 254 | ||
255 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) | 255 | if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) |
256 | rtd->dai->cpu_dai->dma_data = &s3c24xx_i2s_pcm_stereo_out; | 256 | rtd->dai->cpu_dai->dma_data = &s3c24xx_i2s_pcm_stereo_out; |
@@ -278,7 +278,7 @@ static int s3c24xx_i2s_trigger(struct snd_pcm_substream *substream, int cmd) | |||
278 | { | 278 | { |
279 | int ret = 0; | 279 | int ret = 0; |
280 | 280 | ||
281 | DBG("Entered %s\n", __FUNCTION__); | 281 | DBG("Entered %s\n", __func__); |
282 | 282 | ||
283 | switch (cmd) { | 283 | switch (cmd) { |
284 | case SNDRV_PCM_TRIGGER_START: | 284 | case SNDRV_PCM_TRIGGER_START: |
@@ -320,7 +320,7 @@ static int s3c24xx_i2s_set_sysclk(struct snd_soc_cpu_dai *cpu_dai, | |||
320 | { | 320 | { |
321 | u32 iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); | 321 | u32 iismod = readl(s3c24xx_i2s.regs + S3C2410_IISMOD); |
322 | 322 | ||
323 | DBG("Entered %s\n", __FUNCTION__); | 323 | DBG("Entered %s\n", __func__); |
324 | 324 | ||
325 | iismod &= ~S3C2440_IISMOD_MPLL; | 325 | iismod &= ~S3C2440_IISMOD_MPLL; |
326 | 326 | ||
@@ -346,7 +346,7 @@ static int s3c24xx_i2s_set_clkdiv(struct snd_soc_cpu_dai *cpu_dai, | |||
346 | { | 346 | { |
347 | u32 reg; | 347 | u32 reg; |
348 | 348 | ||
349 | DBG("Entered %s\n", __FUNCTION__); | 349 | DBG("Entered %s\n", __func__); |
350 | 350 | ||
351 | switch (div_id) { | 351 | switch (div_id) { |
352 | case S3C24XX_DIV_BCLK: | 352 | case S3C24XX_DIV_BCLK: |
@@ -381,7 +381,7 @@ EXPORT_SYMBOL_GPL(s3c24xx_i2s_get_clockrate); | |||
381 | 381 | ||
382 | static int s3c24xx_i2s_probe(struct platform_device *pdev) | 382 | static int s3c24xx_i2s_probe(struct platform_device *pdev) |
383 | { | 383 | { |
384 | DBG("Entered %s\n", __FUNCTION__); | 384 | DBG("Entered %s\n", __func__); |
385 | 385 | ||
386 | s3c24xx_i2s.regs = ioremap(S3C2410_PA_IIS, 0x100); | 386 | s3c24xx_i2s.regs = ioremap(S3C2410_PA_IIS, 0x100); |
387 | if (s3c24xx_i2s.regs == NULL) | 387 | if (s3c24xx_i2s.regs == NULL) |