894cbc3136
An operation result can be set both in and out of interrupt context. For example, a response message could be arriving at the same time a timeout of the operation is getting processed. We therefore need to ensure the result is accessed atomically. Protect updates to the errno field using the operations spinlock. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Android.mk | ||
ap.c | ||
battery-gb.c | ||
connection.c | ||
connection.h | ||
core.c | ||
debugfs.c | ||
devices | ||
es1_ap_desc.c | ||
es1-ap-usb.c | ||
gpio-gb.c | ||
greybus_id.h | ||
greybus_manifest.h | ||
greybus.h | ||
i2c-gb.c | ||
interface.c | ||
interface.h | ||
kernel_ver.h | ||
LICENSE | ||
Makefile | ||
manifest.c | ||
manifest.h | ||
module.c | ||
module.h | ||
operation.c | ||
operation.h | ||
protocol.c | ||
protocol.h | ||
pwm-gb.c | ||
README | ||
sdio-gb.c | ||
svc_msg.h | ||
sysfs.c | ||
uart-gb.c | ||
vibrator-gb.c |
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>