summaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/mt2701/mt2701-afe-common.h
diff options
context:
space:
mode:
authorRyder Lee <ryder.lee@mediatek.com>2018-01-02 12:47:18 +0100
committerMark Brown <broonie@kernel.org>2018-01-03 13:10:35 +0100
commitdd6bb9b16f23f9b95b77713c45bd6182336c5b2e (patch)
tree9b39aecbe82e50efe57404943c5dbe5a7253b960 /sound/soc/mediatek/mt2701/mt2701-afe-common.h
parentLinux 4.15-rc1 (diff)
downloadlinux-dd6bb9b16f23f9b95b77713c45bd6182336c5b2e.tar.xz
linux-dd6bb9b16f23f9b95b77713c45bd6182336c5b2e.zip
ASoC: mediatek: fix error handling in mt2701_afe_pcm_dev_probe()
Fix unbalanced error handling path which will get incorrect counts if probe failed. The .remove() should be adjusted accordingly. Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Tested-by: Garlic Tseng <garlic.tseng@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt2701/mt2701-afe-common.h')
0 files changed, 0 insertions, 0 deletions