linux_dsm_epyc7002/sound/soc/intel/haswell
Ben Zhang c999675b04 ASoC: Intel: Fix conflicting pcm dev drvdata on haswell
soc-core sets the snd_soc_pcm_runtime->dev drvdata to
snd_soc_pcm_runtime in soc_post_component_init, and access
it in places like codec_reg_show.

hsw_pcm_open overwrites the drvdata to point to hsw_pcm_data,
confusing soc-core, and causing crashes when cat
/sys/devices/pci0000:00/INT3438:00/.../System PCM/codec_reg

This patch removes the set in hsw_pcm_open since it's no longer
used. commit 7ff9d6714a ("ASoC: Intel: Split hsw_pcm_data for
playback and capture") already removed all calls to
snd_soc_pcm_get_drvdata(rtd).

Signed-off-by: Ben Zhang <benzh@chromium.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2016-07-14 17:30:03 +01:00
..
Makefile ASoC: Intel: create haswell folder and move haswell platform files in 2015-04-06 17:49:45 +01:00
sst-haswell-dsp.c ASoC: Intel: constify sst_block_ops structures 2015-11-16 17:38:54 +00:00
sst-haswell-ipc.c ASoC: Intel: sst: fix a loop timeout in sst_hsw_stream_reset() 2016-04-06 10:06:29 -07:00
sst-haswell-ipc.h ASoC: Intel: create haswell folder and move haswell platform files in 2015-04-06 17:49:45 +01:00
sst-haswell-pcm.c ASoC: Intel: Fix conflicting pcm dev drvdata on haswell 2016-07-14 17:30:03 +01:00