Merge "hal: remove assertion for unsupported sound card"

This commit is contained in:
Linux Build Service Account 2013-12-31 08:41:37 -08:00 committed by Gerrit - the friendly Code Review server
commit 16361ef4ef
2 changed files with 2 additions and 4 deletions

View File

@ -261,8 +261,7 @@ void *hw_info_init(const char *snd_card_name)
ALOGV("8084 - variant soundcard");
update_hardware_info_8084(hw_info, snd_card_name);
} else {
ALOGE("%s: Unupported target %s:",__func__, snd_card_name);
CHECK(0);
ALOGE("%s: Unsupported target %s:",__func__, snd_card_name);
free(hw_info);
hw_info = NULL;
}

View File

@ -285,8 +285,7 @@ void *hw_info_init(const char *snd_card_name)
ALOGV("8084 - variant soundcard");
update_hardware_info_8084(hw_info, snd_card_name);
} else {
ALOGE("%s: Unupported target %s:",__func__, snd_card_name);
CHECK(0);
ALOGE("%s: Unsupported target %s:",__func__, snd_card_name);
free(hw_info);
hw_info = NULL;
}