Commit ee0abefd authored by Andrew Morton's avatar Andrew Morton Committed by Takashi Iwai

[ALSA] sound/pci/pcxhr/pcxhr_core.c: fix printk warning

sound/pci/pcxhr/pcxhr_core.c: In function `pcxhr_set_pipe_state':
sound/pci/pcxhr/pcxhr_core.c:899: warning: long int format, different type arg (arg 4)

suseconds_t is int on sparc64.
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 91e24faa
...@@ -897,7 +897,7 @@ int pcxhr_set_pipe_state(struct pcxhr_mgr *mgr, int playback_mask, int capture_m ...@@ -897,7 +897,7 @@ int pcxhr_set_pipe_state(struct pcxhr_mgr *mgr, int playback_mask, int capture_m
#ifdef CONFIG_SND_DEBUG_DETECT #ifdef CONFIG_SND_DEBUG_DETECT
do_gettimeofday(&my_tv2); do_gettimeofday(&my_tv2);
snd_printdd("***SET PIPE STATE*** TIME = %ld (err = %x)\n", snd_printdd("***SET PIPE STATE*** TIME = %ld (err = %x)\n",
my_tv2.tv_usec - my_tv1.tv_usec, err); (long)(my_tv2.tv_usec - my_tv1.tv_usec), err);
#endif #endif
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment