mirror of
https://github.com/AuxXxilium/synology-igc.git
synced 2024-11-23 15:01:06 +07:00
igc: Fix typo in i225 LTR functions
backport from 0182d1f3fa
Signed-off-by: Jim Ma <majinjing3@gmail.com>
This commit is contained in:
parent
7bb8502d6c
commit
a1830a63d4
@ -643,7 +643,7 @@ s32 igc_set_ltr_i225(struct igc_hw *hw, bool link)
|
||||
ltrv = rd32(IGC_LTRMAXV);
|
||||
if (ltr_max != (ltrv & IGC_LTRMAXV_LTRV_MASK)) {
|
||||
ltrv = IGC_LTRMAXV_LSNP_REQ | ltr_max |
|
||||
(scale_min << IGC_LTRMAXV_SCALE_SHIFT);
|
||||
(scale_max << IGC_LTRMAXV_SCALE_SHIFT);
|
||||
wr32(IGC_LTRMAXV, ltrv);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user