Merge "hal: fix for open input failure while SSR is not enabled."

This commit is contained in:
Linux Build Service Account 2014-09-18 02:29:32 -07:00 committed by Gerrit - the friendly Code Review server
commit 2703c36053
1 changed files with 1 additions and 2 deletions

View File

@ -2956,8 +2956,7 @@ static int adev_open_input_stream(struct audio_hw_device *dev,
goto err_open;
}
} else {
ret = -EINVAL;
goto err_open;
ALOGW("%s: surround sound recording is not supported", __func__);
}
} else if (audio_extn_compr_cap_enabled() &&
audio_extn_compr_cap_format_supported(config->format) &&