summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2019-05-24 14:09:19 -0500
committerMark Brown <broonie@kernel.org>2019-05-28 15:47:19 +0100
commit0bce512e784d137700275f7839c4547eddbd4b6a (patch)
tree5d55c9a62c7bbdaac8ae6fee80fb62e704f30cb7 /.gitignore
parent13931ae31b67a8a26a4cd417088fc43e3d4a8591 (diff)
ASoC: SOF: core: fix error handling with the probe workqueue
In some configurations, it's a requirement to split the probe in two, with a second part handled in a workqueue (e.g. for HDMI support which depends on the DRM modules). SOF already handles these configurations but the error flow is incorrect. When an error occurs in the workqueue, the probe has technically already completed. If we release the resources on errors, this generates kernel oops/use-after-free when the resources are released a second time on module removal. GitHub issue: https://github.com/thesofproject/linux/issues/945 Fixes: c16211d6226 ("ASoC: SOF: Add Sound Open Firmware driver core") Reviewed-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions