diff options
author | Alex Elder | 2014-10-29 01:35:58 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-10-29 01:42:17 +0100 |
commit | b29699602df46a8dffe01bedf2a601c4e2699a96 (patch) | |
tree | 4b78fffb35e458b675969d352fa68a1df1777ef2 /drivers/staging/greybus/operation.c | |
parent | greybus: connection: call connection_init hook after setting the handler (diff) | |
download | kernel-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