summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_cirrus.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2016-01-26 13:54:15 +0100
committerMark Brown <broonie@kernel.org>2016-01-27 12:30:02 +0100
commit9954859185c6e8359e71121037b627f1e294057d (patch)
treef19a38f653d2f50169ec10b4f5866ed6f2ec644a /sound/pci/hda/patch_cirrus.c
parentLinux 4.5-rc1 (diff)
downloadlinux-9954859185c6e8359e71121037b627f1e294057d.tar.xz
linux-9954859185c6e8359e71121037b627f1e294057d.zip
ASoC: imx-spdif: Fix crash on suspend
When registering a ASoC card the driver data of the parent device is set to point to the card. This driver data is used in the snd_soc_suspend()/resume() callbacks. The imx-spdif driver overwrites the driver data with custom data which causes snd_soc_suspend() to crash. Since the custom driver is not used anywhere simply deleting the line which sets the custom driver data fixes the issue. Fixes: 43ac946922b3 ("ASoC: imx-spdif: add snd_soc_pm_ops for spdif machine driver") Tested-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/pci/hda/patch_cirrus.c')
0 files changed, 0 insertions, 0 deletions