summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/hda_verb.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-10 13:42:34 -0800
committerMartin Roth <martinroth@google.com>2017-03-13 17:08:34 +0100
commit68ab0b5d1f7993735c6b113a624259bbf443ae98 (patch)
tree3adb1a21cc194700e6d911a521d0cd56a54e7280 /src/soc/intel/common/hda_verb.c
parent42e605be195b50606c8113f7f6ade3dbcdab462e (diff)
downloadcoreboot-68ab0b5d1f7993735c6b113a624259bbf443ae98.tar.xz
soc/intel/common: Fix spacing issues
Fix the following errors detected by checkpatch.pl: ERROR: spaces required around that '=' (ctx:VxV) ERROR: spaces required around that ':' (ctx:VxW) ERROR: space required after that ',' (ctx:VxV) ERROR: space required before the open parenthesis '(' ERROR: switch and case should be at the same indent ERROR: "foo ** bar" should be "foo **bar" TEST=Build and run on Galileo Gen2 Change-Id: I52ba2a3c1e0fffad7145eecd878aba8dc450ac0b Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18755 Tested-by: build bot (Jenkins) Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/soc/intel/common/hda_verb.c')
-rw-r--r--src/soc/intel/common/hda_verb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/common/hda_verb.c b/src/soc/intel/common/hda_verb.c
index 6e27e1188e..58732e5eff 100644
--- a/src/soc/intel/common/hda_verb.c
+++ b/src/soc/intel/common/hda_verb.c
@@ -172,9 +172,9 @@ static int hda_wait_for_valid(u8 *base)
*/
static u32 hda_find_verb(u32 verb_table_bytes,
const u32 *verb_table_data,
- u32 viddid, const u32 ** verb)
+ u32 viddid, const u32 **verb)
{
- int idx=0;
+ int idx = 0;
while (idx < (verb_table_bytes / sizeof(u32))) {
u32 verb_size = 4 * verb_table_data[idx+2]; // in u32