From: Bo Shen Date: Wed, 27 Nov 2013 10:05:09 +0000 (+0800) Subject: ASoC: atmel: sam9x5_wm8731: fix oops when unload module X-Git-Tag: v3.13-rc3~12^2~1^2^3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46bec25da6a41b7308adde746cbcdbbd0bf9b39c;p=pandora-kernel.git 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 Signed-off-by: Mark Brown --- Reading git-diff-tree failed