commit | bc90b9c9c7ceeb51da4ff572dc99abbd89ecca66 | [log] [tgz] |
---|---|---|
author | Marek Vasut <marek.vasut+renesas@mailbox.org> | Sun Mar 16 14:51:40 2025 +0100 |
committer | Marek Vasut <marek.vasut+renesas@mailbox.org> | Sun Mar 16 14:56:16 2025 +0100 |
tree | 02541fac1cb7a6e6c2fe964807d83a1cb3fcd56b | |
parent | b12a20cb65b51d1f967b0970d568ab11b44794ea [diff] |
ram: renesas: dbsc5: Fix JS1 index calculation The JS1 index is calculated correctly, but the limiter cannot be the max() function because the index should be lower than JS1_USABLEC_SPEC_HI and the max() function would unconditionally override the JS1 index to JS1_USABLEC_SPEC_HI. Use clamp() to limit the JS1 index instead. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org>