WSL2-Linux-Kernel/sound/drivers/pcsp
Arnd Bergmann 08604bd993 time: move PIT_TICK_RATE to linux/timex.h
PIT_TICK_RATE is currently defined in four architectures, but in three
different places.  While linux/timex.h is not the perfect place for it, it
is still a reasonable replacement for those drivers that traditionally use
asm/timex.h to get CLOCK_TICK_RATE and expect it to be the PIT frequency.

Note that for Alpha, the actual value changed from 1193182UL to 1193180UL.
 This is unlikely to make a difference, and probably can only improve
accuracy.  There was a discussion on the correct value of CLOCK_TICK_RATE
a few years ago, after which every existing instance was getting changed
to 1193182.  According to the specification, it should be
1193181.818181...

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: Richard Henderson <rth@twiddle.net>
Cc: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Len Brown <lenb@kernel.org>
Cc: john stultz <johnstul@us.ibm.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-06-16 19:47:27 -07:00
..
Makefile [ALSA] Add PC-speaker sound driver 2008-04-24 12:00:20 +02:00
pcsp.c Merge branch 'topic/misc' into for-linus 2009-03-24 00:35:50 +01:00
pcsp.h time: move PIT_TICK_RATE to linux/timex.h 2009-06-16 19:47:27 -07:00
pcsp_input.c ALSA: Fix PIT lockup on some chipsets when using the PC-Speaker 2008-11-03 08:57:25 +01:00
pcsp_input.h [ALSA] Add PC-speaker sound driver 2008-04-24 12:00:20 +02:00
pcsp_lib.c ALSA: pcsp - Fix starting the stream with HRTIMER_CB_IRQSAFE_UNLOCK 2008-11-26 14:13:03 +01:00
pcsp_mixer.c ALSA: pcsp - fix printk format warning again 2009-05-20 17:08:00 +02:00