phy: freescale: fsl-samsung-hdmi: Remove unnecessary LUT entries
authorAdam Ford <aford173@gmail.com>
Sat, 14 Sep 2024 11:27:49 +0000 (06:27 -0500)
committerVinod Koul <vkoul@kernel.org>
Thu, 17 Oct 2024 13:13:36 +0000 (18:43 +0530)
commit7588444551c65ddd37d6ee9e232bd944d2df2c8c
treee88a9d727b5f51a74c8ad7ad9fc7ad1add907388
parent058ea4a06704c6ad3032bdb3ead9ed3dc1f7fe6e
phy: freescale: fsl-samsung-hdmi: Remove unnecessary LUT entries

The lookup table contains entries which use the integer divider
instead of just the fractional divider. Since the set and round
functions check both the integer divider values and the LUT values,
it's no longer necessary to keep the integer divider values in the
lookup table, as can be dynamically calcuated.

Signed-off-by: Adam Ford <aford173@gmail.com>
Reviewed-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Tested-by: Frieder Schrempf <frieder.schrempf@kontron.de>
Reviewed-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
Tested-by: Dominique Martinet <dominique.martinet@atmark-techno.com>
Link: https://lore.kernel.org/r/20240914112816.520224-6-aford173@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/phy/freescale/phy-fsl-samsung-hdmi.c