intel_scu_ipc: move error check out of the loop
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 21 Jan 2015 19:38:10 +0000 (21:38 +0200)
committerDarren Hart <dvhart@linux.intel.com>
Thu, 29 Jan 2015 05:21:10 +0000 (21:21 -0800)
This is small performance optimization of the busy_loop().

While here, use BIT() macro instead of plain integers when check the status.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/intel_scu_ipc.c

Simple merge