Re: [PATCH] drm: rcar-du: dsi: Fix hsfreq range matching

2021-12-06 Thread Kieran Bingham
Quoting Laurent Pinchart (2021-12-06 14:06:01) > When iterating over hsfreqrange_table, rcar_mipi_dsi_parameters_calc() > may dereference the sentinel table entry. Fix the loop condition to > break as soon as a suitable entry is found, defined by the lower bound > of the frequency range stored in t

[PATCH] drm: rcar-du: dsi: Fix hsfreq range matching

2021-12-06 Thread Laurent Pinchart
When iterating over hsfreqrange_table, rcar_mipi_dsi_parameters_calc() may dereference the sentinel table entry. Fix the loop condition to break as soon as a suitable entry is found, defined by the lower bound of the frequency range stored in the table being equal to or higher than the target frequ