Merge "[qca-nss-drv] Clean up frequency scale cmd"
diff --git a/nss_hal/ipq807x/nss_hal_pvt.c b/nss_hal/ipq807x/nss_hal_pvt.c
index e6083ae..a5f2d62 100644
--- a/nss_hal/ipq807x/nss_hal_pvt.c
+++ b/nss_hal/ipq807x/nss_hal_pvt.c
@@ -545,13 +545,13 @@
nss_info_always("Supported Frequencies - ");
for (i = 0; i < NSS_FREQ_MAX_SCALE; i++) {
if (nss_runtime_samples.freq_scale[i].frequency == NSS_FREQ_187) {
- nss_info_always("187 MHz ");
+ nss_info_always("187.2 MHz ");
} else if (nss_runtime_samples.freq_scale[i].frequency == NSS_FREQ_748) {
- nss_info_always("748 MHz ");
+ nss_info_always("748.8 MHz ");
} else if (nss_runtime_samples.freq_scale[i].frequency == NSS_FREQ_1497) {
nss_info_always("1.4976 GHz ");
} else if (nss_runtime_samples.freq_scale[i].frequency == NSS_FREQ_1689) {
- nss_info_always("1.689 GHz ");
+ nss_info_always("1.6896 GHz ");
} else {
nss_info_always("Error\nNo Table/Invalid Frequency Found\n");
return -EFAULT;
diff --git a/nss_init.c b/nss_init.c
index fbaae7d..1536741 100644
--- a/nss_init.c
+++ b/nss_init.c
@@ -308,7 +308,7 @@
i = 0;
while (i < NSS_FREQ_MAX_SCALE) {
- printk("%dMhz ", nss_runtime_samples.freq_scale[i].frequency/1000000);
+ printk("%d Hz ", nss_runtime_samples.freq_scale[i].frequency);
i++;
}
printk("\n");