[Intel-gfx] [PATCH 02/13] drm/i915/mtl: C20 HW readout

Andi Shyti andi.shyti at linux.intel.com
Fri Apr 28 09:14:25 UTC 2023


Hi Mika,

[...]

> +static int intel_c20_phy_check_hdmi_link_rate(int clock)
> +{
> +	const struct intel_c20pll_state * const *tables = mtl_c20_hdmi_tables;
> +	int i;
> +
> +	for (i = 0; tables[i]; i++) {
> +		if (clock == tables[i]->link_bit_rate)
> +			return MODE_OK;
> +	}

because you are going to resend it... you could remove these
braces here... there are a few cases below, as well.

Andi


More information about the Intel-gfx mailing list