pal: Update logic to support getFTM for 4/2 channel

Update logic to support getFTM for 4/2 channel.

Change-Id: I3b725b3cdffbe1b4bc64b8f4cf2915c86d739ce7
diff --git a/device/src/SpeakerProtection.cpp b/device/src/SpeakerProtection.cpp
index 30b3c92..3e0fd56 100644
--- a/device/src/SpeakerProtection.cpp
+++ b/device/src/SpeakerProtection.cpp
@@ -2843,7 +2843,7 @@
     }
     stream = static_cast<Stream *>(activeStreams[0]);
     stream->getAssociatedSession(&session);
-    for (int ch = numberOfChannels; ch != 0; ch == ch >> CHANNELS_2) {
+    for (int ch = numberOfChannels; ch != 0; ch = ch >> CHANNELS_2) {
         if (ch == CHANNELS_4)
             tagid = MODULE_SP2;
         else {
@@ -2999,7 +2999,7 @@
         goto exit;
     }
 
-    for (int ch = numberOfChannels; ch != 0; ch == ch >> CHANNELS_2) {
+    for (int ch = numberOfChannels; ch != 0; ch = ch >> CHANNELS_2) {
 
         if (ch == CHANNELS_4)
             tagid = MODULE_VI2;