nss-drv: [11.4] Fix empty line always appearing

Fixes the weird empty line that always appears in dmesg when loading

```
[Thu May  1 15:07:40 2025] hotplug: symlinking qca-nss0.bin to /lib/firmware/qca-nss0-retail.bin
[Thu May  1 15:07:40 2025] qca-nss 39000000.nss: NSS FW Version: NSS.HK.11.4.0.5-6-R
[Thu May  1 15:07:40 2025] qca-nss 39000000.nss: fw of size 835960 bytes copied to addr: 40000000, nss_id: 0

[Thu May  1 15:07:40 2025] qca-nss 39000000.nss: NSS core 0 booted successfully
[Thu May  1 15:07:40 2025] hotplug: symlinking qca-nss1.bin to /lib/firmware/qca-nss1-retail.bin
[Thu May  1 15:07:40 2025] qca-nss 39400000.nss: fw of size 292296 bytes copied to addr: 40800000, nss_id: 1

[Thu May  1 15:07:40 2025] qca-nss 39400000.nss: NSS core 1 booted successfully
```

Signed-off-by: Sean Khan <datapronix@protonmail.com>
This commit is contained in:
Sean Khan 2025-05-01 19:14:04 -04:00
parent 7180ade5ca
commit aeca10fbca

View File

@ -30,9 +30,18 @@
break;
case NSS_FREQ_SCALE_NA:
@@ -468,7 +468,7 @@ static int __nss_hal_clock_configure(str
return -EFAULT;
}
}
- nss_info_always("\n");
+ nss_info("\n");
/*
* Set values only once for core0. Grab the proper clock.
--- a/nss_hal/ipq60xx/nss_hal_pvt.c
+++ b/nss_hal/ipq60xx/nss_hal_pvt.c
@@ -532,16 +532,16 @@ static int __nss_hal_clock_configure(str
@@ -532,22 +532,22 @@ static int __nss_hal_clock_configure(str
}
}
@ -54,9 +63,16 @@
} else {
nss_info_always("Error\nNo Table/Invalid Frequency Found\n");
return -EFAULT;
}
}
- nss_info_always("\n");
+ nss_info("\n");
/*
* Set values only once for core0. Grab the proper clock.
--- a/nss_hal/ipq807x/nss_hal_pvt.c
+++ b/nss_hal/ipq807x/nss_hal_pvt.c
@@ -571,16 +571,16 @@ static int __nss_hal_clock_configure(str
@@ -571,22 +571,22 @@ static int __nss_hal_clock_configure(str
}
}
@ -78,3 +94,10 @@
} else {
nss_info_always("Error\nNo Table/Invalid Frequency Found\n");
return -EFAULT;
}
}
- nss_info_always("\n");
+ nss_info("\n");
/*
* Set values only once for core0. Grab the proper clock.