commit | 46bec25da6a41b7308adde746cbcdbbd0bf9b39c | [log] [tgz] |
---|---|---|
author | Bo Shen <voice.shen@atmel.com> | Wed Nov 27 18:05:09 2013 +0800 |
committer | Mark Brown <broonie@linaro.org> | Wed Nov 27 15:50:05 2013 +0000 |
tree | a45e2f84dfefd9b0aedc1352bd98baa6b8c0a9f5 | |
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>