commit | d644181fe60f4fcfca7e9e9e9b0503993e391e69 | [log] [tgz] |
---|---|---|
author | Rui Miguel Silva <rui.silva@linaro.org> | Thu Dec 03 16:07:48 2015 +0000 |
committer | Greg Kroah-Hartman <gregkh@google.com> | Thu Dec 03 15:33:34 2015 -0800 |
tree | 9e5e4e374dfe24f240b189ca5e40be29101faa67 | |
parent | 3f85c787b74c26f3816017e64288af907f291462 [diff] |
greybus: lights: avoid channel torch double free When attaching torch to a flash we release the channel torch resources, but afterwards we do it again when releasing all the channels. Just free all the resource at channel release. Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>