]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
ASoC: samsung: Fix error paths in the I2S driver's probe()
authorSylwester Nawrocki <s.nawrocki@samsung.com>
Thu, 21 Jul 2016 18:03:49 +0000 (20:03 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 21 Jul 2016 18:18:17 +0000 (19:18 +0100)
commit2b960386cb75bd332a132c44c9ec69bd1f3122d8
tree05a20281f3b1e15b7f8bf80d25a0733d0a522cb0
parent48b418d7fd359fe1d9845507bdbecf151e0a0dd9
ASoC: samsung: Fix error paths in the I2S driver's probe()

Ensure they secondary DAI device is freed properly when asoc_dma_platform
registration fails.  This change is needed for proper deferred probe support
and will help preventing situations when the CPU DAI's initialization
completes without required DMA resources.

Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/samsung/i2s.c