summaryrefslogtreecommitdiffstats
path: root/drivers/staging/greybus/operation.c
diff options
context:
space:
mode:
authorAlex Elder2014-10-29 01:35:58 +0100
committerGreg Kroah-Hartman2014-10-29 01:42:17 +0100
commitb29699602df46a8dffe01bedf2a601c4e2699a96 (patch)
tree4b78fffb35e458b675969d352fa68a1df1777ef2 /drivers/staging/greybus/operation.c
parentgreybus: connection: call connection_init hook after setting the handler (diff)
downloadkernel-qcow2-linux-b29699602df46a8dffe01bedf2a601c4e2699a96.tar.gz
kernel-qcow2-linux-b29699602df46a8dffe01bedf2a601c4e2699a96.tar.xz
kernel-qcow2-linux-b29699602df46a8dffe01bedf2a601c4e2699a96.zip
greybus: drop the cport id on error
In gb_connection_create(), if an error occurs adding a connection's device, the cport id assigned to the AP end of the connection is not getting freed. Fix that. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
Diffstat (limited to 'drivers/staging/greybus/operation.c')
0 files changed, 0 insertions, 0 deletions