Revert "hal: update combo device handling"
This reverts commit 993e1f42e79729da2cd80df56072f954ad666b42.
Change-Id: I758f222fdb861feb730b7caba1416ba2e393b5b7
diff --git a/hal/platform_info.c b/hal/platform_info.c
index 21c85a9..92cc930 100644
--- a/hal/platform_info.c
+++ b/hal/platform_info.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2014-2016, The Linux Foundation. All rights reserved.
+ * Copyright (c) 2014-2015, The Linux Foundation. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are
@@ -177,7 +177,6 @@
static void process_backend_name(const XML_Char **attr)
{
int index;
- char *hw_interface = NULL;
if (strcmp(attr[0], "name") != 0) {
ALOGE("%s: 'name' not found, no ACDB ID set!", __func__);
@@ -197,15 +196,7 @@
goto done;
}
- if (attr[4] != NULL) {
- if (strcmp(attr[4], "interface") != 0) {
- hw_interface = NULL;
- } else {
- hw_interface = (char *)attr[5];
- }
- }
-
- if (platform_set_snd_device_backend(index, attr[3], hw_interface) < 0) {
+ if (platform_set_snd_device_backend(index, attr[3]) < 0) {
ALOGE("%s: Device %s backend %s was not set!",
__func__, attr[1], attr[3]);
goto done;