commit | 1e776f31838f1037319fe54ea7e676a8871c6603 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Mon Nov 17 08:08:45 2014 -0600 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Mon Nov 17 10:41:19 2014 -0800 |
tree | 3abb454c0adbc07cf4e00315575d752e75974f01 | |
parent | 2c43ce49672eacd1df87df92c2ddfdb02e276be0 [diff] |
greybus: get rid of cport_id_map_lock The only time we get a cport id is when setting up a new connection. We already have a (coarser-grained) spin lock that's used to protect the connection lists, and we can use that same lock for protecting the hd's connection id map. Signed-off-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>