summaryrefslogtreecommitdiff
path: root/net/rds
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2016-03-28 19:41:30 +0300
committerMark Brown <broonie@kernel.org>2016-03-28 12:38:00 +0300
commitd643678b9a4e432a574b2ec601216afd720c69b6 (patch)
tree9a5d2d7ae2710da4c6c7656c6ead275fb73467b3 /net/rds
parentc3efb42b207e22991dee86ca15861ede11a419fc (diff)
downloadlinux-d643678b9a4e432a574b2ec601216afd720c69b6.tar.xz
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>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions