commit | d643678b9a4e432a574b2ec601216afd720c69b6 | [log] [tgz] |
---|---|---|
author | Jeeja KP <jeeja.kp@intel.com> | Mon Mar 28 22:11:30 2016 +0530 |
committer | Mark Brown <broonie@kernel.org> | Mon Mar 28 10:38:00 2016 +0100 |
tree | 9a5d2d7ae2710da4c6c7656c6ead275fb73467b3 | |
parent | c3efb42b207e22991dee86ca15861ede11a419fc [diff] |
ASoC: Intel: Skylake: Fix for unloading module only when it is loaded Module needs to be unloaded only when it is loaded successfully. To fix this, first correct the module state sequence and set module state to LOADED if module is loaded successfully. When unloading the module check if module state is not in UNINIT, then unload it. Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>