abe9a3006f
If an operation already has an error result recorded, don't overwrite it with a new error code. In order to ensure a request completes exactly once, return a Boolean indicating whether setting the result was successful. If two threads are racing to complete an operation (for example if a slow-but-normal response message arrives at the same time timeout processing commences) only the one that sets the final result will finish its activity. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Android.mk | ||
LICENSE | ||
Makefile | ||
README | ||
ap.c | ||
battery-gb.c | ||
connection.c | ||
connection.h | ||
core.c | ||
debugfs.c | ||
devices | ||
es1-ap-usb.c | ||
es1_ap_desc.c | ||
gpio-gb.c | ||
greybus.h | ||
greybus_id.h | ||
greybus_manifest.h | ||
i2c-gb.c | ||
interface.c | ||
interface.h | ||
kernel_ver.h | ||
manifest.c | ||
manifest.h | ||
module.c | ||
module.h | ||
operation.c | ||
operation.h | ||
protocol.c | ||
protocol.h | ||
pwm-gb.c | ||
sdio-gb.c | ||
svc_msg.h | ||
sysfs.c | ||
uart-gb.c | ||
vibrator-gb.c |
README
Greybus kernel code To build against the running kernel (odds are you don't want this): make To build against a specific kernel source tree (odds are you want this): KERNELDIR=/home/some/random/place make Any questions / concerns about this code base, please email: Greg Kroah-Hartman <greg@kroah.com>