linux/sound/soc/s3c24xx
Julia Lawall f11b799282 [ALSA] sound: Use time_before, time_before_eq, etc.
The functions time_before, time_before_eq, time_after, and time_after_eq
are more robust for comparing jiffies against other values.
A simplified version of the semantic patch making this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)
// <smpl>
@ change_compare_np @
expression E;
@@
(
- jiffies <= E
+ time_before_eq(jiffies,E)
|
- jiffies >= E
+ time_after_eq(jiffies,E)
|
- jiffies < E
+ time_before(jiffies,E)
|
- jiffies > E
+ time_after(jiffies,E)
)
@ include depends on change_compare_np @
@@
#include <linux/jiffies.h>
@ no_include depends on !include && change_compare_np @
@@
  #include <linux/...>
+ #include <linux/jiffies.h>
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2008-01-31 17:29:45 +01:00
..
Kconfig [ALSA] soc - ln2440sbc ac97 support 2008-01-31 17:29:10 +01:00
lm4857.h [ALSA] ASoC S3C24xx machine drivers - lm4857-h missing patch 2007-07-20 11:11:29 +02:00
ln2440sbc_alc650.c [ALSA] soc - ln2440sbc ac97 support 2008-01-31 17:29:10 +01:00
Makefile [ALSA] soc - ln2440sbc ac97 support 2008-01-31 17:29:10 +01:00
neo1973_wm8753.c [ALSA] neo1973: ASoC include pathname fix 2008-01-31 17:29:43 +01:00
s3c24xx-ac97.h [ALSA] soc - ln2440sbc ac97 support 2008-01-31 17:29:10 +01:00
s3c24xx-i2s.c [ALSA] sound: Use time_before, time_before_eq, etc. 2008-01-31 17:29:45 +01:00
s3c24xx-i2s.h [ALSA] ASoC Samsung S3C24xx updates - i2s 2007-05-11 16:56:03 +02:00
s3c24xx-pcm.c [ALSA] s3c24xx-pcm: fix hw_params dma handling 2007-10-16 15:57:57 +02:00
s3c24xx-pcm.h [ALSA] ASoC Samsung S3c24xx updates - audio DMA cleanup 2007-05-11 16:56:03 +02:00
s3c2443-ac97.c [ALSA] soc - ln2440sbc ac97 support 2008-01-31 17:29:10 +01:00
smdk2443_wm9710.c [ALSA] ASoC S3C24xx machine drivers - SMDK 2443 2007-07-20 11:11:16 +02:00