linux/drivers
David Fries 01e14d6db9 W1: don't delay search start
Move the creation of the w1_process thread to after the device has been
initialized.  This way w1_process doesn't have to check to see if it has
been initialized and the bus search can proceed without sleeping.  That
also eliminates two checks in the w1_process loop.  The sleep now happens
at the end of the loop not the beginning.

Also added a comment for why the atomic_set was 2.

Signed-off-by: David Fries <david@fries.net>
Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-10-16 11:21:49 -07:00
..
accessibility
acpi
amba
ata
atm
auxdisplay
base firmware: use dev_printk when possible 2008-10-16 11:21:47 -07:00
block
bluetooth
cdrom
char drivers/char/tpm/tpm.c: fix error-path memory leak 2008-10-16 11:21:49 -07:00
clocksource
connector
cpufreq
cpuidle
crypto
dca
dio
dma
edac edac i5000: fix thermal issues 2008-10-16 11:21:48 -07:00
eisa
firewire
firmware
gpio gpiolib: request/free hooks 2008-10-16 11:21:40 -07:00
gpu misc: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
hid
hwmon
i2c
ide Kconfig: eliminate "def_bool n" constructs 2008-10-16 11:21:31 -07:00
ieee1394
infiniband
input omap drivers: switch to standard GPIO calls 2008-10-16 11:21:40 -07:00
isdn
leds
lguest
macintosh
mca
md
media
memstick
message i2o: Fix 32/64bit DMA locking 2008-10-16 11:21:38 -07:00
mfd
misc AT91: atmel_pwm only available for certain AT91 processors 2008-10-16 11:21:32 -07:00
mmc
mtd omap drivers: switch to standard GPIO calls 2008-10-16 11:21:40 -07:00
net Remove Andrew Morton's old email accounts 2008-10-16 11:21:32 -07:00
nubus nubus: fix mis-indented statement 2008-10-16 11:21:30 -07:00
of
oprofile
parisc
parport parport: remove CVS keywords 2008-10-16 11:21:49 -07:00
pci
pcmcia
pnp pnp: make the resource type an unsigned long 2008-10-16 11:21:45 -07:00
power olpc: olpc_battery.c sparse endian annotations 2008-10-16 11:21:30 -07:00
ps3
rapidio
regulator
rtc rtc-ds1672 new style driver 2008-10-16 11:21:40 -07:00
s390 misc: replace __FUNCTION__ with __func__ 2008-10-16 11:21:30 -07:00
sbus
scsi
serial
sh
sn
spi spi: core and gpio expanders use subsys_init 2008-10-16 11:21:38 -07:00
ssb
tc
telephony telephony: remove CVS keywords 2008-10-16 11:21:45 -07:00
thermal
uio
usb
video fbcon_set_all_vcs: fix kernel crash when switching the rotated consoles 2008-10-16 11:21:45 -07:00
virtio
w1 W1: don't delay search start 2008-10-16 11:21:49 -07:00
watchdog
xen
zorro
Kconfig
Makefile