mirror of
https://github.com/patjak/facetimehd.git
synced 2026-04-09 19:10:01 +02:00
bcwc_pcie: Fix typo in getting speed quotient
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
This commit is contained in:
@@ -523,7 +523,7 @@ static int bcwc_hw_s2_init_ddr_controller_soc(struct bcwc_private *dev_priv)
|
||||
"Second DDR40 VDL calibration failed, using default step size\n");
|
||||
}
|
||||
|
||||
val = 1000000 % dev_priv->ddr_speed;
|
||||
val = 1000000 / dev_priv->ddr_speed;
|
||||
|
||||
if (step_size == 0) {
|
||||
step_size = (val * 0x4ec4ec4f) >> 22;
|
||||
|
||||
Reference in New Issue
Block a user