diff options
author | Bo Shen | 2013-11-27 18:05:09 +0800 |
---|---|---|
committer | Mark Brown | 2013-11-27 15:50:05 +0000 |
commit | 46bec25da6a41b7308adde746cbcdbbd0bf9b39c (patch) | |
tree | a45e2f84dfefd9b0aedc1352bd98baa6b8c0a9f5 /sound/soc/codecs/wm1250-ev1.c | |
parent | 6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff) |
ASoC: atmel: sam9x5_wm8731: fix oops when unload module
As the priv is not assigned to card->drvdata, it is NULL, so when
unload module, it will cause NULL pointer oops.
Assign priv to card->drvdata to fix this issue.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm1250-ev1.c')
0 files changed, 0 insertions, 0 deletions