mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 13:14:36 +07:00
rt2800: perform VCO recalibration for RF5592 chip
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
bc00770539
commit
24d42ef3b1
@ -4341,6 +4341,7 @@ void rt2800_vco_calibration(struct rt2x00_dev *rt2x00dev)
|
|||||||
case RF5372:
|
case RF5372:
|
||||||
case RF5390:
|
case RF5390:
|
||||||
case RF5392:
|
case RF5392:
|
||||||
|
case RF5592:
|
||||||
rt2800_rfcsr_read(rt2x00dev, 3, &rfcsr);
|
rt2800_rfcsr_read(rt2x00dev, 3, &rfcsr);
|
||||||
rt2x00_set_field8(&rfcsr, RFCSR3_VCOCAL_EN, 1);
|
rt2x00_set_field8(&rfcsr, RFCSR3_VCOCAL_EN, 1);
|
||||||
rt2800_rfcsr_write(rt2x00dev, 3, rfcsr);
|
rt2800_rfcsr_write(rt2x00dev, 3, rfcsr);
|
||||||
@ -7716,6 +7717,7 @@ static int rt2800_probe_hw_mode(struct rt2x00_dev *rt2x00dev)
|
|||||||
case RF5372:
|
case RF5372:
|
||||||
case RF5390:
|
case RF5390:
|
||||||
case RF5392:
|
case RF5392:
|
||||||
|
case RF5592:
|
||||||
__set_bit(CAPABILITY_VCO_RECALIBRATION, &rt2x00dev->cap_flags);
|
__set_bit(CAPABILITY_VCO_RECALIBRATION, &rt2x00dev->cap_flags);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user