Merge "msm: vidc: Fix an issue with high bitrate playback"

This commit is contained in:
Linux Build Service Account 2016-07-13 15:45:11 -07:00 committed by Gerrit - the friendly Code Review server
commit fe65bd3832

View file

@ -1238,6 +1238,13 @@ static unsigned long __get_clock_rate_with_bitrate(struct clock_info *clock,
break;
}
}
/*
* Current bitrate is higher than max supported load.
* Select max frequency to handle this load.
*/
if (i < 0)
supported_clk[j] = table[0].freq;
}
for (i = 0; i < data->num_sessions; i++)