arm: tegra: xmm: add post_resume phy callback
authorVinayak Pane <vpane@nvidia.com>
Fri, 24 Aug 2012 02:48:12 +0000 (19:48 -0700)
committerSimone Willett <swillett@nvidia.com>
Thu, 6 Sep 2012 21:21:58 +0000 (14:21 -0700)
commite96e462aee43ed8699f5cd64728c389e92ef402e
tree3bd09235aee88a464ee032d36a3303c8da65c6fe
parent9bc5ccb125f8c32733a73bbc560ee71ac143f359
arm: tegra: xmm: add post_resume phy callback

phy post_resume is called when usb port+hub is resumed,
check if modem has finished resume by then. Notify modem
about post resume by setting bb_wake to low.

Modify check for CP initiated wakeup to read current
modem state (ap_wake).

Bug 1034420

Change-Id: Ie9a3aa581bd7660183464e3fc2554ceb055b69b2
Signed-off-by: Vinayak Pane <vpane@nvidia.com>
Reviewed-on: http://git-master/r/129533
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/board-enterprise.c