diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2018-01-02 19:47:18 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-01-03 12:10:35 +0000 |
commit | dd6bb9b16f23f9b95b77713c45bd6182336c5b2e (patch) | |
tree | 9b39aecbe82e50efe57404943c5dbe5a7253b960 /lib/strnlen_user.c | |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff) |
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 'lib/strnlen_user.c')
0 files changed, 0 insertions, 0 deletions