]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
ARM: tegra: baseband: fix crash when queueing EDP work
authorNeil Patel <neilp@nvidia.com>
Fri, 25 Jan 2013 22:36:44 +0000 (17:36 -0500)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 19:51:33 +0000 (12:51 -0700)
commite41fdec5548340f35c6c2a6d951afcdaccc844cb
tree74f825aaef9eb2acdc59c2260521db47a4d5a848
parent344f54726d88c3a7b6be1e37e4d28f5a570e71a9
ARM: tegra: baseband: fix crash when queueing EDP work

Add a check for EDP initialization in the driver before queueing EDP
work on the modem workqueue. Otherwise a BUG() will occur in cases
where the EDP client is not enabled.

Bug 1224860

Change-Id: Ibacb19abfe955244da4a833f39bd0adf13e4f04c
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/194268
(cherry picked from commit d66e95baf6b0eaf94c635992b1ba93d4184cc08b)
Reviewed-on: http://git-master/r/195164
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Steve Lin <stlin@nvidia.com>
arch/arm/mach-tegra/tegra_usb_modem_power.c