platform: tegra: nvadsp: Check handle in app init
authorAjay Nandakumar <anandakumarm@nvidia.com>
Tue, 28 Apr 2015 11:55:49 +0000 (16:55 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 30 Apr 2015 15:01:40 +0000 (08:01 -0700)
commitc7789beded788acfcc4772b3eff0d823baee8b7a
tree3e91911a462047ed2f72592ec0f2c578f63ae853
parent93f8ce8f59388248dc5cf4678da5763b61b25f9d
platform: tegra: nvadsp: Check handle in app init

The NULL pointer check in nvadsp_app_init was removed as a result of
using the single app framework integration. Adding this check back
without which an exception would occur.

Bug 200069519

Change-Id: I8198d1ca5aa3a2f79a3194ac48df0ce70e0753db
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Reviewed-on: http://git-master/r/736727
Reviewed-by: Nitin Kumbhar <nkumbhar@nvidia.com>
drivers/platform/tegra/nvadsp/app.c