Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e99d73e0 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents 7ef41f7d d92068af
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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++)