prima: validate if ROC timer is initialized

Fetching the ROC timer state without validating if the timer initialized
will lead to assert, if the ROC timer is not initialized.

To address this, ensure to check if ROC timer is initialized
before reading state of ROC timer.

CRs-Fixed: 948104
Change-Id: I4d8c4a9c8d2779b11e549d0e1a1fa7825af097b7
1 file changed
tree: 0bbe1ec4fdc4b5a648235810fdb8b02dea5e3e6a
  1. CORE/
  2. firmware_bin/
  3. riva/
  4. Android.mk
  5. Kbuild
  6. Kconfig
  7. Makefile