commit | 48d7077c007d27851952861d002d660b552b9888 | [log] [tgz] |
---|---|---|
author | Johan Hovold <johan@hovoldconsulting.com> | Fri Feb 13 11:28:09 2015 +0800 |
committer | Greg Kroah-Hartman <greg@kroah.com> | Sat Feb 14 21:30:13 2015 +0800 |
tree | 331157ce96a447daa15bab475b8a8d98747a3439 | |
parent | 067f3b6bfaa132269756e4e6d0c61360f8d6a4b5 [diff] |
greybus: bundle: fix sleep-while-atomic in gb_bundle_destroy Make sure to release the spin lock protecting the interface bundle lists before tearing down the connections and removing the bundle device, which are operations that may sleep. Signed-off-by: Johan Hovold <johan@hovoldconsulting.com> Reviewed-by: Alex Elder <elder@linaro.org> Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>