asoc: tegra: fix Coverity issues of NULL dereference
authorDeepak Nibade <dnibade@nvidia.com>
Mon, 29 Jul 2013 10:00:16 +0000 (15:00 +0530)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:34:19 +0000 (13:34 -0700)
commit76c09bd391b9edbe4b6dbaac6d6293fdb2b58e03
tree1a0deb2204129ab68f0036e69a5446889cd88470
parent92f0197ffa61c067070a8ab7a1808cf603d4ebdd
asoc: tegra: fix Coverity issues of NULL dereference

- fix dereference after null check
  Coverity id : 23554
  Coverity id : 23555
- fix dereference of null return value
  Coverity id : 23338
- fix dereference before null check
  Coverity id : 23683
  Coverity id : 23684

Bug 1329327

Change-Id: I65542ff9da32810676c5b28fed463cf43c7807df
Signed-off-by: Deepak Nibade <dnibade@nvidia.com>
Reviewed-on: http://git-master/r/254991
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Sumit Bhattacharya <sumitb@nvidia.com>
sound/soc/tegra/tegra30_spdif.c