Merge "hal: Correct the multi-channel output usecase selection"

This commit is contained in:
Linux Build Service Account 2013-11-20 20:12:37 -08:00 committed by Gerrit - the friendly Code Review server
commit 15d574ec25
1 changed files with 1 additions and 1 deletions

View File

@ -1984,7 +1984,7 @@ static int adev_open_output_stream(struct audio_hw_device *dev,
out->handle = handle;
/* Init use case and pcm_config */
if (out->flags & AUDIO_OUTPUT_FLAG_DIRECT &&
if (out->flags == AUDIO_OUTPUT_FLAG_DIRECT &&
out->devices & AUDIO_DEVICE_OUT_AUX_DIGITAL) {
pthread_mutex_lock(&adev->lock);
ret = read_hdmi_channel_masks(out);