soc: tegra: fix coverity errors
authorDara Ramesh <dramesh@nvidia.com>
Tue, 5 Mar 2013 10:44:53 +0000 (15:44 +0530)
committerMandar Padmawar <mpadmawar@nvidia.com>
Thu, 14 Mar 2013 13:47:24 +0000 (06:47 -0700)
commit8a9d8d7ed288b70db9710ae9618bc758c34ed888
treebc03f179114b127e7b36faf7b8805633ef168375
parent27d367efb1519767edde69c145ad32776cee8a18
soc: tegra: fix coverity errors

fix memory cleanup and array comparison with null.

Change-Id: Ib27b0814c2744024f36fa3f3f510927eceb490a1
Signed-off-by: Dara Ramesh <dramesh@nvidia.com>
Reviewed-on: http://git-master/r/206284
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>
sound/soc/tegra/tegra_aic326x.c
sound/soc/tegra/tegra_cs42l73.c