commit | 9dd95164292c672b4768288796afc5488cbdadf9 | [log] [tgz] |
---|---|---|
author | Vatsal Bucha <vbucha@codeaurora.org> | Thu Jun 18 08:57:27 2020 +0530 |
committer | Vatsal Bucha <vbucha@codeaurora.org> | Wed Jul 08 19:41:15 2020 +0530 |
tree | 751475120cc58968f50162bb2d827bb7d3828cb5 | |
parent | 686ed22ea7e3b3c710c975fad0db5fac990892f1 [diff] |
soc: swr-mstr: Fix KW issue in swrm_remove Irq pointer is first freed and then used in irq_set_trigger_type and set wakeup capable. This may lead to Null pointer dereference if irq is NULL. Free irq after using it. Change-Id: I86339e9995922cc8111f12593eb781226bb07a2a Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>