commit | b02c5cc7239b8f58ba5da24092288dd7a9a56acc | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jul 07 11:14:04 2016 +0300 |
committer | Mark Brown <broonie@kernel.org> | Thu Jul 07 11:40:58 2016 +0200 |
tree | 89dda426094addc91a2a44078f7c17929c3b83de | |
parent | 4bdc8d452c18a5b4f439a1bffdda6789c4a6c606 [diff] |
ASoC: mediatek: mt2701: fix some error handling in probe The check for if the "afe" allocation failed was too late and there wasn't a check for "afe->platform_priv". Fixes: 43a6a7e71063 ('ASoC: mediatek: add mt2701 platform driver implementation.') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Garlic Tseng <garlic.tseng@mediatek.com> Signed-off-by: Mark Brown <broonie@kernel.org>