diff --git a/services/audioflinger/AudioFlinger.cpp b/services/audioflinger/AudioFlinger.cpp
index 63ce7c4..0ba105f 100644
--- a/services/audioflinger/AudioFlinger.cpp
+++ b/services/audioflinger/AudioFlinger.cpp
@@ -4667,7 +4667,7 @@
         struct audio_port* ports) const
 {
     audio_utils::lock_guard _l(mutex());
-    return mPatchPanel->listAudioPorts(num_ports, ports);
+    return mPatchPanel->listAudioPorts_l(num_ports, ports);
 }
 
 /* Get supported attributes for a given audio port */
@@ -4678,7 +4678,7 @@
     }
 
     audio_utils::lock_guard _l(mutex());
-    return mPatchPanel->getAudioPort(port);
+    return mPatchPanel->getAudioPort_l(port);
 }
 
 /* Connect a patch between several source and sink ports */
@@ -4691,14 +4691,14 @@
     }
 
     audio_utils::lock_guard _l(mutex());
-    return mPatchPanel->createAudioPatch(patch, handle);
+    return mPatchPanel->createAudioPatch_l(patch, handle);
 }
 
 /* Disconnect a patch */
 status_t AudioFlinger::releaseAudioPatch(audio_patch_handle_t handle)
 {
     audio_utils::lock_guard _l(mutex());
-    return mPatchPanel->releaseAudioPatch(handle);
+    return mPatchPanel->releaseAudioPatch_l(handle);
 }
 
 /* List connected audio ports and they attributes */
@@ -4706,7 +4706,7 @@
         unsigned int* num_patches, struct audio_patch* patches) const
 {
     audio_utils::lock_guard _l(mutex());
-    return mPatchPanel->listAudioPatches(num_patches, patches);
+    return mPatchPanel->listAudioPatches_l(num_patches, patches);
 }
 
 // ----------------------------------------------------------------------------
