More minor coding convention fixes
[ipc/ipcdev.git] / packages / ti / pm / IpcPower.c
index 5834b592676cee27bc8ed6c79d3522650a0abd77..325ad1bc1d294b1e31d9ae65aca57530ffb78f80 100644 (file)
@@ -67,9 +67,9 @@
 #include <ti/pm/IpcPower.h>
 #include "_IpcPower.h"
 
-#define MASTERCORE                      1
-#define NO_MASTERCORE                   0
-#define CPU_COPY                       -1
+#define MASTERCORE                      (1)
+#define NO_MASTERCORE                   (0)
+#define CPU_COPY                       (-1)
 #define REG32(A)   (*(volatile UInt32 *) (A))
 
 #define SET_DEEPSLEEP (REG32(M3_SCR_REG) | (1 << DEEPSLEEP_BIT))
@@ -147,6 +147,7 @@ static inline Void IpcPower_sleepMode(IpcPower_SleepMode opt)
             if (refWakeLockCnt) {
                 refWakeLockCnt--;
             }
+            /* Fall through: */
         case IpcPower_SLEEP_MODE_DEEPSLEEP:
             if (!refWakeLockCnt) {
                 IpcPower_deepSleep = TRUE;