commit | ecb5646cb098d9d1961c4b1af7b776c73b7541ac | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@gmail.com> | Tue Jan 25 14:12:12 2011 +0000 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Jan 26 08:57:17 2011 +1000 |
tree | cddda632fe6e3af9fb7f28cf1fdbb076e8d88b22 | |
parent | c723fdab8aa728dc2bf0da6a0de8bb9c3f588d84 [diff] |
intel_scu_ipc: fix signedness bug busy_loop() returns negative error code, thus change err variable from u32 to int to properly propagate correct error code. Also remove unneeded initialization for err and i variables. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>