OpenCloudOS-Kernel/drivers/staging/greybus
Alex Elder abe9a3006f greybus: first operation error prevails
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>
2014-11-25 13:18:16 -08:00
..
.gitignore greybus: gitignore: few more additions 2014-11-14 13:14:37 -08:00
Android.mk greybus: build: Add -fno-pic for 32bit arm as well 2014-10-30 15:33:38 -07:00
LICENSE greybus: Initial commit 2014-08-11 15:29:23 +08:00
Makefile greybus: add -Wall to the build flags 2014-11-19 20:18:11 -08:00
README greybus: update README with info on how to build and contact me. 2014-08-11 15:44:51 +08:00
ap.c greybus: ap: function_id is already set by svc_msg_alloc() 2014-11-19 10:38:50 -08:00
battery-gb.c greybus: battery-gb: convert to use gb_operation_sync 2014-11-24 12:56:51 -08:00
connection.c greybus: cancel operation on timeout 2014-11-21 19:36:42 -08:00
connection.h greybus: Random spell fixes 2014-11-21 12:25:57 -08:00
core.c greybus: Random spell fixes 2014-11-21 12:25:57 -08:00
debugfs.c greybus: nullify dangling pointers 2014-11-14 13:32:27 -08:00
devices greybus: devices: endpoint description of device 2014-09-13 17:31:27 -07:00
es1-ap-usb.c greybus: es1-ap-usb: don't use 'es1' after it is freed 2014-11-24 13:54:45 -08:00
es1_ap_desc.c greybus: es1 endpoint descriptor: minor fixes to get the config right 2014-09-13 16:15:07 -07:00
gpio-gb.c greybus: gpio-gb: convert to use gb_operation_sync 2014-11-24 12:56:51 -08:00
greybus.h greybus: have greybus allocate its own buffers 2014-11-21 12:23:34 -08:00
greybus_id.h greybus: greybus_id.h: checkpatch cleanup 2014-10-06 20:37:08 -07:00
greybus_manifest.h greybus: greybus_manifest.h: update with full list of protocols 2014-11-17 15:19:14 -08:00
i2c-gb.c greybus: i2c-gb: convert to use gb_operation_sync 2014-11-24 12:56:51 -08:00
interface.c greybus: skeleton for future uevents. 2014-11-15 12:12:16 -08:00
interface.h greybus: interface: move gb_module_interface_init() to interface.c 2014-11-14 13:49:04 -08:00
kernel_ver.h greybus: vibrator-gb: fixes based on Marti's review comments. 2014-11-17 16:55:54 -08:00
manifest.c greybus: Random spell fixes 2014-11-21 12:25:57 -08:00
manifest.h greybus: fix module setup 2014-10-03 19:00:10 -07:00
module.c greybus: Random spell fixes 2014-11-21 12:25:57 -08:00
module.h greybus: interface: move gb_module_interface_init() to interface.c 2014-11-14 13:49:04 -08:00
operation.c greybus: first operation error prevails 2014-11-25 13:18:16 -08:00
operation.h greybus: encapsulate operation result access 2014-11-25 10:49:51 -08:00
protocol.c greybus: Random spell fixes 2014-11-21 12:25:57 -08:00
protocol.h greybus: vibrator-gb: add vibrator driver 2014-11-17 16:03:34 -08:00
pwm-gb.c greybus: pwm-gb: convert to use gb_operation_sync 2014-11-24 12:56:51 -08:00
sdio-gb.c greybus: Pass '*ptr' to sizeof() wherever possible 2014-11-19 10:38:50 -08:00
svc_msg.h greybus: update AP id service message 2014-10-22 18:46:21 +08:00
sysfs.c greybus: sysfs: generalize gb_module_attr() to capture more cases 2014-11-14 13:17:55 -08:00
uart-gb.c greybus: uart-gb: clean up send_line_coding 2014-11-25 10:49:08 -08:00
vibrator-gb.c greybus: vibrator-gb: convert to use gb_operation_sync 2014-11-24 12:56:51 -08:00

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>