diff options
author | Subhransu S. Prusty <subhransu.s.prusty@intel.com> | 2014-10-30 13:51:44 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-31 19:56:48 +0300 |
commit | 3172fcddcea230f129e8916628672617ef3c836c (patch) | |
tree | c1860b3c8d78064e903534c159010101a43d44c3 /sound/soc/intel | |
parent | 7adab122a57c5ade8efc2e4de67c72b084c31cda (diff) | |
download | linux-3172fcddcea230f129e8916628672617ef3c836c.tar.xz |
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>
Diffstat (limited to 'sound/soc/intel')
-rw-r--r-- | sound/soc/intel/sst-mfld-platform-pcm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/intel/sst-mfld-platform-pcm.c b/sound/soc/intel/sst-mfld-platform-pcm.c index e7cf18d1d421..6032f18693be 100644 --- a/sound/soc/intel/sst-mfld-platform-pcm.c +++ b/sound/soc/intel/sst-mfld-platform-pcm.c @@ -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); |