linux/sound/soc/intel
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
..
atom ASoC: Intel: atom: statify cht_quirk 2016-07-08 16:36:45 +02:00
baytrail ASoC: Intel: add NULL test 2015-12-23 00:02:17 +00:00
boards ASoC: Intel: board: add kabylake nau88l25_ssm4567 machine id 2016-07-14 17:21:29 +01:00
common ASoC: intel: Fix sst-dsp dependency on dw stuff 2016-07-11 18:19:23 +01:00
haswell ASoC: Intel: Fix conflicting pcm dev drvdata on haswell 2016-07-14 17:30:03 +01:00
skylake ASoC: Intel: Kbl: add kabylake additional machine entries 2016-07-14 17:21:29 +01:00
Kconfig ASoC: intel: Fix sst-dsp dependency on dw stuff 2016-07-11 18:19:23 +01:00
Makefile ASoC: Intel: Add makefile support for SKL driver 2015-07-09 11:54:26 +01:00