summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/task-analyzer-record
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2026-06-12 15:57:31 +0300
committerVinod Koul <vkoul@kernel.org>2026-07-22 13:38:07 +0530
commit1e0c8d50663ae2afd2307d617fd94a53f6a1dc02 (patch)
treeb6cea360cc3cd264187d76e048c026cdd4856bd4 /tools/perf/scripts/python/bin/task-analyzer-record
parent910b828b22b7b91054b3bd4be676a017444b0e00 (diff)
phy: lynx-10g: fix lynx_10g_pccr_val_enabled()
The intention of the code is to extract the PCCR8_SGMIIa_CFG field out of the "pccr" value, not to create a new value with the PCCR8_SGMIIa_CFG field set to the "pccr" value. Since FIELD_GET() is implemented as ((reg) & (mask)) >> __bf_shf(mask) and FIELD_PREP() as (val) << __bf_shf(mask)) & (mask) and since "mask" is GENMASK(2, 0), in practice there is no functional difference between FIELD_GET() and FIELD_PREP(). But FIELD_GET() is logically the correct helper. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://patch.msgid.link/20260612125731.133330-1-vladimir.oltean@nxp.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/task-analyzer-record')
0 files changed, 0 insertions, 0 deletions