[qca-nss-drv] Core CLK should be configured on ubi0 instead of ubi1
Change-Id: I317fbb1804cb62d3bdfc22c1b0441a7ee5157f47
Signed-off-by: Stephen Wang <wstephen@codeaurora.org>
diff --git a/nss_hal/ipq806x/nss_hal_pvt.c b/nss_hal/ipq806x/nss_hal_pvt.c
index 04d71a4..0e061cd 100644
--- a/nss_hal/ipq806x/nss_hal_pvt.c
+++ b/nss_hal/ipq806x/nss_hal_pvt.c
@@ -837,9 +837,9 @@
int i, err;
/*
- * Both ubi core on ipq806x, configure just the core0
+ * Both ubi core on ipq806x attach to the same clock, configure just the core0
*/
- if (!nss_ctx->id) {
+ if (nss_ctx->id) {
return 0;
}