AudioPolicyManager: Fix logging statement

We move our 'return' to after our ALOGD statement, so we'll
get the information logged.

Test: Treehugger
Change-Id: Ieb6953633d197baf4311ca51a381f31bec884afc
diff --git a/services/audiopolicy/managerdefault/AudioPolicyManager.cpp b/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
index b31e396..47e17f1 100644
--- a/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
+++ b/services/audiopolicy/managerdefault/AudioPolicyManager.cpp
@@ -1155,9 +1155,9 @@
             compressedFormatsOrder, surroundChannelMasksOrder, true /*preferHigherSamplingRates*/,
             &bestSinkConfig);
     if (result != NO_ERROR) {
-        return result;
         ALOGD("%s() no matching profiles found for device: %#x, hwAvSync: %d",
                 __func__, outputDevice, hwAvSync);
+        return result;
     }
     sinkConfig->sample_rate = bestSinkConfig.sample_rate;
     sinkConfig->channel_mask = bestSinkConfig.channel_mask;