This change is to add NULL check for pmo_psoc_ctx. Change-Id: I8e762fc344ce8ffba56b3fbb2f1b16c2215a0cc1 CRs-Fixed: 3776522