mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-21 19:53:59 +08:00
ASoC: Intel: mfld-pcm: Fix to Store device context in sst_data
Some debug prints use dev context in sst_data. Store the device context for the same. Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
7adab122a5
commit
3172fcddce
@ -706,6 +706,7 @@ static int sst_platform_probe(struct platform_device *pdev)
|
||||
pdata->pdev_strm_map = dpcm_strm_map;
|
||||
pdata->strm_map_size = ARRAY_SIZE(dpcm_strm_map);
|
||||
drv->pdata = pdata;
|
||||
drv->pdev = pdev;
|
||||
mutex_init(&drv->lock);
|
||||
dev_set_drvdata(&pdev->dev, drv);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user