diff --git a/public/audioserver.te b/public/audioserver.te
index 455ab4b7581585df251a6a761c69b85b225293ef..9f390e704cd470e97be6ca147908e981f78c6bf9 100644
--- a/public/audioserver.te
+++ b/public/audioserver.te
@@ -11,6 +11,7 @@ binder_service(audioserver)
 
 hwbinder_use(audioserver)
 binder_call(audioserver, hal_audio)
+hwallocator_use(audioserver)
 
 r_dir_file(audioserver, proc)
 allow audioserver ion_device:chr_file r_file_perms;
diff --git a/public/te_macros b/public/te_macros
index 739b18533dda0d11f44134303e91aa23b34aaf84..70f0fdf2ec7ec0a2b672cbca9633a18b8f8e054a 100644
--- a/public/te_macros
+++ b/public/te_macros
@@ -228,7 +228,7 @@ typeattribute $1 binderservicedomain;
 define(`hwallocator_use', `
 # Call into the allocator hal
 binder_call($1, hal_allocator);
-'')
+')
 
 #####################################
 # wakelock_use(domain)