staging: speakup: speakup_decpc.c: style fixes
* Clean this file based on reports from checkpatch.pl. Signed-off-by: Christopher Brannon <chris@the-brannons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
3d4f7eaf65
commit
227e18d6b6
|
@ -367,7 +367,7 @@ oops: synth_release_region(speakup_info.port_tts, SYNTH_IO_EXTENT);
|
||||||
static void do_catch_up(struct spk_synth *synth)
|
static void do_catch_up(struct spk_synth *synth)
|
||||||
{
|
{
|
||||||
u_char ch;
|
u_char ch;
|
||||||
static u_char last = '\0';
|
static u_char last;
|
||||||
unsigned long flags;
|
unsigned long flags;
|
||||||
unsigned long jiff_max;
|
unsigned long jiff_max;
|
||||||
struct var_t *jiffy_delta;
|
struct var_t *jiffy_delta;
|
||||||
|
@ -422,7 +422,8 @@ static void do_catch_up(struct spk_synth *synth)
|
||||||
jiffy_delta_val = jiffy_delta->u.n.value;
|
jiffy_delta_val = jiffy_delta->u.n.value;
|
||||||
delay_time_val = delay_time->u.n.value;
|
delay_time_val = delay_time->u.n.value;
|
||||||
spk_unlock(flags);
|
spk_unlock(flags);
|
||||||
schedule_timeout(msecs_to_jiffies(delay_time_val));
|
schedule_timeout(msecs_to_jiffies
|
||||||
|
(delay_time_val));
|
||||||
jiff_max = jiffies + jiffy_delta_val;
|
jiff_max = jiffies + jiffy_delta_val;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue