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
(cherry picked from commit
e96e462aee43ed8699f5cd64728c389e92ef402e)
Reviewed-on: http://git-master/r/131996
Reviewed-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Tested-by: Rohan Somvanshi <rsomvanshi@nvidia.com>
Rebase-Id: Rdc12eaa4d9ae104f8775ce38488566664e5f3f58