diff options
| author | Alok Tiwari <alok.a.tiwari@oracle.com> | 2025-08-27 12:26:43 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-08-29 19:05:11 -0700 |
| commit | b79e498080b170fd94fc83bca2471f450811549b (patch) | |
| tree | c5416133c7b4702c2f3ef3d8d6a98a6a1d5d5e0b /tools/perf/scripts/python/bin | |
| parent | net_sched: gen_estimator: fix est_timer() vs CONFIG_PREEMPT_RT=y (diff) | |
| download | linux-b79e498080b170fd94fc83bca2471f450811549b.tar.gz linux-b79e498080b170fd94fc83bca2471f450811549b.zip | |
xirc2ps_cs: fix register access when enabling FullDuplex
The current code incorrectly passes (XIRCREG1_ECR | FullDuplex) as
the register address to GetByte(), instead of fetching the register
value and OR-ing it with FullDuplex. This results in an invalid
register access.
Fix it by reading XIRCREG1_ECR first, then or-ing with FullDuplex
before writing it back.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250827192645.658496-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
