Commit a91605b8 authored by Stas Sergeev's avatar Stas Sergeev Committed by Takashi Iwai

[ALSA] pcsp - clean ups

- make pcsp_start_timer_tasklet static
- remove redundant includes. <asm/i8253.h> is not available on all platforms.
Signed-off-by: default avatarStas Sergeev <stsp@aknet.ru>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 368c7a95
...@@ -11,9 +11,7 @@ ...@@ -11,9 +11,7 @@
#include <sound/core.h> #include <sound/core.h>
#include <sound/initval.h> #include <sound/initval.h>
#include <sound/pcm.h> #include <sound/pcm.h>
#include <linux/input.h> #include <linux/input.h>
#include <linux/delay.h>
#include <asm/bitops.h> #include <asm/bitops.h>
#include "pcsp_input.h" #include "pcsp_input.h"
#include "pcsp.h" #include "pcsp.h"
......
...@@ -9,10 +9,8 @@ ...@@ -9,10 +9,8 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <sound/pcm.h> #include <sound/pcm.h>
#include <sound/pcm_params.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
#include <asm/io.h> #include <asm/io.h>
#include <asm/i8253.h>
#include "pcsp.h" #include "pcsp.h"
static int nforce_wa; static int nforce_wa;
...@@ -45,7 +43,7 @@ static void pcsp_start_timer(unsigned long dummy) ...@@ -45,7 +43,7 @@ static void pcsp_start_timer(unsigned long dummy)
* The only solution I could find was to move the * The only solution I could find was to move the
* hrtimer_start() into a tasklet. -stsp * hrtimer_start() into a tasklet. -stsp
*/ */
DECLARE_TASKLET(pcsp_start_timer_tasklet, pcsp_start_timer, 0); static DECLARE_TASKLET(pcsp_start_timer_tasklet, pcsp_start_timer, 0);
enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle) enum hrtimer_restart pcsp_do_timer(struct hrtimer *handle)
{ {
......
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