Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8e1b5adf authored by Ralf Baechle's avatar Ralf Baechle Committed by Thomas Gleixner
Browse files

i8253: Make pcsp sound driver use the shared i8253_lock



Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Acked-by: default avatarTakashi Iwai <tiwai@suse.de>
Cc: alsa-devel@alsa-project.org
Link: http://lkml.kernel.org/r/20110601180610.532642190@duck.linux-mips.net


Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
parent 16ba9b06
Loading
Loading
Loading
Loading
+1 −7
Original line number Diff line number Diff line
@@ -10,14 +10,8 @@
#define __PCSP_H__

#include <linux/hrtimer.h>
#include <linux/timex.h>
#if defined(CONFIG_MIPS) || defined(CONFIG_X86)
/* Use the global PIT lock ! */
#include <linux/i8253.h>
#else
#include <asm/8253pit.h>
static DEFINE_RAW_SPINLOCK(i8253_lock);
#endif
#include <linux/timex.h>

#define PCSP_SOUND_VERSION 0x400	/* read 4.00 */
#define PCSP_DEBUG 0