diff options
author | Adam Ford <[email protected]> | 2024-09-14 06:27:46 -0500 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2024-10-17 18:43:35 +0530 |
commit | 375ee44adb3640099508c5c0c01d86f0bdb16e97 (patch) | |
tree | b05fc7c5e873ad3f8a42fcc733390b5e338b4984 /tools/perf/scripts/python/syscall-counts.py | |
parent | 4a5a9e2577d61a4ee3e9788e0c2b0c1cbc5ba7b3 (diff) |
phy: freescale: fsl-samsung-hdmi: Simplify REG21_PMS_S_MASK lookup
The value of 'S' is writen to two places, PHY_REG3[7:4] and
PHY_REG21[3:0]. There is a lookup table which contains
the value of PHY_REG3. Rather than using a switch statement
based on the pixel clock to search for the value of 'S' again,
just shift the contents of PHY_REG3[7:4] >> 4 and place the value
in PHY_REG21[3:0]. Doing this can eliminate an entire function.
Signed-off-by: Adam Ford <[email protected]>
Reviewed-by: Marco Felsch <[email protected]>
Reviewed-by: Frieder Schrempf <[email protected]>
Tested-by: Frieder Schrempf <[email protected]>
Reviewed-by: Dominique Martinet <[email protected]>
Tested-by: Dominique Martinet <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions