diff options
| author | Dan Carpenter <dan.carpenter@oracle.com> | 2016-07-07 11:14:04 +0300 | 
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2016-07-07 11:40:58 +0200 | 
| commit | b02c5cc7239b8f58ba5da24092288dd7a9a56acc (patch) | |
| tree | 89dda426094addc91a2a44078f7c17929c3b83de /lib/mpi/mpiutil.c | |
| 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>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions
