commit | 8ebc0534995b4af0d4d2a2290baab7ab77ffe0f3 | [log] [tgz] |
---|---|---|
author | Chandana Kishori Chiluveru <cchiluve@codeaurora.org> | Fri Dec 30 17:26:09 2016 +0530 |
committer | Mayank Rana <mrana@codeaurora.org> | Wed Apr 05 10:55:37 2017 -0700 |
tree | 1e27500a70c86c16da0dd2e50577a974ba8c563b | |
parent | 1111c4cdd3ec41994e18097c1bff81bc4e73eef2 [diff] |
usb: gadget: Fix null pointer crash issue in gsi_free_inst If misc register failed then there is a chance for accessing the null pointer in gsi_free_inst function and leads to target crash. Hence add the change to handle the same. Change-Id: Iaa3f7db1403ca2d87f259dec109912c5437c24f4 Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org> Signed-off-by: Mayank Rana <mrana@codeaurora.org>