st-hal: Ignore UV conf level for PDK5 sound models
As PDK5 first stage does not support UV, any UV confidence levels
sent from app need to be ignored.
Change-Id: Icf48e763dffa982b445b27ac8e48ebd1d2d0b520
diff --git a/st_session.c b/st_session.c
index 9533721..1a9b630 100644
--- a/st_session.c
+++ b/st_session.c
@@ -2653,13 +2653,6 @@
* during only one remaining client model as there won't be a
* merged model yet.
*/
-
- /*
- * User verification confidence is not required
- * in SVA5 PDK_UV case. As first stage doesn't
- * support user verification.
- */
- num_conf_levels = 1;
memcpy(stc_ses->sm_info.cf_levels, conf_levels,
stc_ses->sm_info.cf_levels_size);
@@ -2725,6 +2718,13 @@
st_hw_ses->max_preroll = stc_ses->preroll_duration;
/*
+ * User verification confidence is not required
+ * in SVA5 PDK_UV case. As first stage doesn't
+ * support user verification.
+ */
+ num_conf_levels = 1;
+
+ /*
* Cache it to use when client restarts without
* config update
*/