commit | dc8b53268649a83bad248caeb371e4667b0b276c | [log] [tgz] |
---|---|---|
author | Stephen Wang <wstephen@codeaurora.org> | Sat Jun 27 20:11:50 2015 -0700 |
committer | Stephen Wang <wstephen@codeaurora.org> | Sat Jun 27 20:21:29 2015 -0700 |
tree | cf8ae2ea2af101390cd6abd867bffac3d96c68d5 | |
parent | 870d77bc423112a77e8c82f895abb32c9b2010a0 [diff] |
[qca-nss-drv] Fix couple crashes when doing module remove 1. reset_control_put() will be called by kernel when resource release, don't call it in our driver which cause double free. 2. nss_hal_remove() will be called for each core which cause resource being freed twice, mark them as NULL after first free, so they will not double free. Signed-off-by: Stephen Wang <wstephen@codeaurora.org> Change-Id: Ie6527c4da4ae92c08d5fb29957772529564b3e49