Audio-hal: Fix VTS failures for display port.

Failure of VtsHalAudioV4_0Target#AudioPrimaryHidlTest.SetConnectedState(default).

VTS failure for Audio device AUX_DIGITAL if Audio HAL returns failure error.
This error in HAL occurs if it fails to query the display type. This test case
checks that HAL is notified of device connection/disconnection and should not
return any error even if no physical device is connected.

Do not return failure status when hal is not able to query the display port.

CRs-Fixed: 2292409
Change-Id: Ie86a359bf6ee15e7e3b06a4ab71695eb41642630
diff --git a/hal/audio_hw.c b/hal/audio_hw.c
index 34a9937..b35a425 100644
--- a/hal/audio_hw.c
+++ b/hal/audio_hw.c
@@ -6491,10 +6491,9 @@
             ret = platform_get_ext_disp_type(adev->platform);
             if (ret < 0) {
                 ALOGE("%s: Failed to query disp type, ret:%d", __func__, ret);
-                status = ret;
-                goto done;
+            } else {
+                platform_cache_edid(adev->platform);
             }
-            platform_cache_edid(adev->platform);
         } else if (audio_is_usb_out_device(device) || audio_is_usb_in_device(device)) {
             /*
              * Do not allow AFE proxy port usage by WFD source when USB headset is connected.