Skip to content
Commit 46bec25d authored by Bo Shen's avatar Bo Shen Committed by Mark Brown
Browse files

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: default avatarBo Shen <voice.shen@atmel.com>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 6ce4eac1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment