From: Jie Yang Date: Tue, 4 Nov 2014 06:45:24 +0000 (+0800) Subject: ASoC: Intel: Fix the driver data not set issue X-Git-Tag: omap-for-v3.19/fixes-rc1~126^2~20^2~16^3~17 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e648f6add20d1cfb5945e24b5bffe5843476645b;p=pandora-kernel.git ASoC: Intel: Fix the driver data not set issue The priv_data is allocated again here wrongly, and it is not set to the driver data after assignment. This make the pdata->dev is NULL and oops occurs on the first call to hsw_volume_put. The resource has been allocated in driver probe callback hsw_pcm_dev_probe, so here just remove this sencond allocation is OK. Signed-off-by: Jie Yang Signed-off-by: Mark Brown --- Reading git-diff-tree failed