Commit 03fc137b authored by Bartosz Markowski's avatar Bartosz Markowski Committed by Kalle Valo

ath10k: set the UART baud rate to 19200

When configuring the host_interests over BMI, set the UART
baud rate to 19200. This is valid for QCA988X_2.0 devices.

kvalo: found during code review, there should not be any functionality
changes
Signed-off-by: default avatarBartosz Markowski <bartosz.markowski@tieto.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent a3d135e5
...@@ -435,6 +435,13 @@ static int ath10k_init_uart(struct ath10k *ar) ...@@ -435,6 +435,13 @@ static int ath10k_init_uart(struct ath10k *ar)
return ret; return ret;
} }
/* Set the UART baud rate to 19200. */
ret = ath10k_bmi_write32(ar, hi_desired_baud_rate, 19200);
if (ret) {
ath10k_warn("could not set the baud rate (%d)\n", ret);
return ret;
}
ath10k_info("UART prints enabled\n"); ath10k_info("UART prints enabled\n");
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment