linux/drivers/staging/greybus
Viresh Kumar 48ed3f6e42 greybus: connection: remove special check for svc cport id
This is required to get things working for now, after the latest revert
of svc protocol is done.

Currently svc's cport id is set to 2 and that hd cport id will be used
for the third connection we make. And that protocol (which is i2c in one
of the cases), may not work as the (dis)connected event isn't sent for
it.

Fix this by getting rid of svc protocol check from (dis)connected
events for now. This must be reverted later, once svc protocol is
included again.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Mark Greer <mgreer@animalcreek.com>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
2015-07-30 12:21:12 -07:00
..
Documentation greybus: interface: device_id belongs to the interface 2015-07-01 16:38:42 -07:00
.gitignore greybus: gitignore: few more additions 2014-11-14 13:14:37 -08:00
Android.mk greybus: build: android: Fix script which locates .ko files and moves them into ramdisk 2015-01-27 14:49:04 -08:00
ap.c greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
audio-dai.c greybus: add copyright statements 2015-05-23 16:47:56 -07:00
audio-gb-cmds.c greybus: audio: Fix typo for macro I2S data version minor 2015-05-28 14:38:38 -07:00
audio-pcm.c greybus: gb-audio: Reset sample count when CPort deactivated 2015-06-10 10:35:03 -07:00
audio.c greybus: gb-audio: Ensure i2c adapter struct exists before using 2015-06-29 18:04:38 -07:00
audio.h greybus: add copyright statements 2015-05-23 16:47:56 -07:00
battery.c greybus: battery: fix panic on operation error 2015-07-24 16:39:58 -07:00
bundle.c greybus: bundles: remove gb_bundle(s)_init() 2015-07-01 16:38:42 -07:00
bundle.h greybus: bundles: remove gb_bundle(s)_init() 2015-07-01 16:38:42 -07:00
connection.c greybus: connection: remove special check for svc cport id 2015-07-30 12:21:12 -07:00
connection.h greybus: svc: fully initialize the partially initialized connection 2015-07-24 16:33:20 -07:00
control.c greybus: operation: fix atomic response allocation 2015-07-20 16:14:29 -07:00
control.h greybus: Add control protocol support 2015-06-23 23:16:15 -07:00
core.c greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
debugfs.c greybus: tag core init and exit functions 2015-06-10 10:38:23 -07:00
devices greybus: devices: endpoint description of device 2014-09-13 17:31:27 -07:00
endo.c greybus: endo: Fix compilation warning 2015-06-11 09:18:45 -07:00
endo.h greybus: remove __init from .h files 2015-06-11 09:35:00 -07:00
es1.c greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
es2.c greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
gpbridge.c greybus: gpbridge: rename gpb.c to gpbridge.c 2015-05-20 22:43:05 -07:00
gpio.c greybus: Rename gb_gpbridge_protocol_driver() as gb_builtin_protocol_driver() 2015-07-01 16:34:55 -07:00
greybus_id.h greybus: bundle: s/class_type/class 2015-04-06 12:47:06 +02:00
greybus_manifest.h greybus: sync protocol and class definitions 2015-07-22 10:11:05 -07:00
greybus_protocols.h greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
greybus.h greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
hid.c greybus: operation: allow atomic operation allocations 2015-07-01 16:45:39 -07:00
i2c.c greybus: operation: allow atomic operation allocations 2015-07-01 16:45:39 -07:00
interface.c greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
interface.h greybus: interface: localize gb_interface_destroy() 2015-07-24 16:33:20 -07:00
kernel_ver.h greybus: kernel_ver: add list_last_entry for old kernels 2015-07-16 09:57:20 -07:00
LICENSE greybus: Initial commit 2014-08-11 15:29:23 +08:00
loopback.c greybus: loopback: warn user if kfifo cannot log all data 2015-07-28 14:58:36 -07:00
Makefile greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
manifest.c greybus: manifest: convert pr_err to dev_err 2015-07-22 10:17:26 -07:00
manifest.h greybus: manifest: Use interface descriptor instead of module descriptor to get information 2015-04-06 12:05:58 +02:00
module.c greybus: Prefix module-id with endo id 2015-06-08 15:18:02 -07:00
module.h greybus: endo: Create modules after validating Endo ID 2015-05-11 13:30:09 -07:00
operation.c greybus: operation: add completion work queue 2015-07-23 12:55:25 -07:00
operation.h greybus: operation: fix atomic response allocation 2015-07-20 16:14:29 -07:00
protocol.c greybus: connection: silence warning on unbound protocols 2015-07-24 16:39:58 -07:00
protocol.h greybus: protocol: move version_response structure to greybus_protocols.h 2015-07-22 10:11:05 -07:00
pwm.c greybus: Rename gb_gpbridge_protocol_driver() as gb_builtin_protocol_driver() 2015-07-01 16:34:55 -07:00
raw.c greybus: properly cleanup ida and idr structures when shutting down 2015-07-08 11:53:43 -07:00
README greybus: update README with info on how to build and contact me. 2014-08-11 15:44:51 +08:00
sdio.c greybus: sdio: fix transfer buffer handling and blocks counting 2015-07-06 11:15:42 -07:00
spi.c greybus: operation: allow atomic operation allocations 2015-07-01 16:45:39 -07:00
svc_msg.h greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
svc.c greybus: svc: revert svc changes to keep things working for a while. 2015-07-29 10:05:09 -07:00
svc.h greybus: svc: remove interface->svc pointer 2015-07-24 16:33:20 -07:00
uart.c greybus: uart: fix typo in defintion 2015-07-14 15:59:54 -07:00
usb.c greybus: operation: allow atomic operation allocations 2015-07-01 16:45:39 -07:00
vibrator.c greybus: properly cleanup ida and idr structures when shutting down 2015-07-08 11:53:43 -07:00

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>