commit | e648f6add20d1cfb5945e24b5bffe5843476645b | [log] [tgz] |
---|---|---|
author | Jie Yang <yang.jie@intel.com> | Tue Nov 04 14:45:24 2014 +0800 |
committer | Mark Brown <broonie@kernel.org> | Tue Nov 04 11:44:08 2014 +0000 |
tree | 16e9edde7d2e67129bc83016ce2d9e89a49beaee | |
parent | f74e2c9cb03076d11e807088d2120a8a381a6f3c [diff] |
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 <yang.jie@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>