commit | 169ac5878bdf1df2171c6339e7d9dc8889fa54d5 | [log] [tgz] |
---|---|---|
author | Vignesh Kulothungan <vigneshk@codeaurora.org> | Mon Aug 13 16:55:42 2018 -0700 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Thu Sep 06 17:08:58 2018 -0700 |
tree | c4e90529827d3f24f20df7e6204b6aec857c61ec | |
parent | 93ce3defb5c141e51d85b60bfe6943af78b3b2f0 [diff] |
asoc: return when memory allocation fails Return with ENOMEM error when memory allocation fails to avoid NULL pointer access failure. Add NULL check before accessing dai driver pointer. CRs-Fixed: 2296013 Change-Id: I1c513d6550587216d338957b07c4b72475709f44 Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>