arm: tegra: xmm: device set to null in unregister
authorVinayak Pane <vpane@nvidia.com>
Wed, 18 Jul 2012 02:06:54 +0000 (19:06 -0700)
committerVarun Wadekar <vwadekar@nvidia.com>
Mon, 13 Aug 2012 12:04:12 +0000 (17:04 +0530)
commit8bed6fd166fb7221b603f7d79a0a70df4d7c6cc3
tree5561a1d5215184b4ba2b54cd140890035d343d23
parent82cfe176157cf926133dea3a8879135bf20b9af2
arm: tegra: xmm: device set to null in unregister

hsic_unregister is being called multiple times
during two step enumeration process of xmm.
In failure cases when enumeration does not
complete properly, kernel panic is seen because
of extra unregister-ehci device.

Bug 1016593

Change-Id: Ibaeb20ed0dab0e906741fdfad78f7d89a3672f60
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/116626
Reviewed-by: Simone Willett <swillett@nvidia.com>
Tested-by: Simone Willett <swillett@nvidia.com>
arch/arm/mach-tegra/baseband-xmm-power.c
arch/arm/mach-tegra/baseband-xmm-power.h
arch/arm/mach-tegra/baseband-xmm-power2.c
arch/arm/mach-tegra/board-enterprise.c
arch/arm/mach-tegra/include/mach/tegra-bb-power.h
drivers/misc/tegra-baseband/bb-m7400.c