summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/hda_verb.c
diff options
context:
space:
mode:
authorSubrata Banik <subrata.banik@intel.com>2019-11-14 11:08:51 +0530
committerPatrick Georgi <pgeorgi@google.com>2019-11-15 11:01:33 +0000
commit5885ffef326ff41b2bad80e42e1795a2982754b3 (patch)
tree074cb4a2044d57a8b636548107433b5b8e59369b /src/soc/intel/common/hda_verb.c
parent5aa0a53e5ff64e83f893a26153fb35cde4a05cd4 (diff)
downloadcoreboot-5885ffef326ff41b2bad80e42e1795a2982754b3.tar.xz
soc/intel/common: Make alignment proper for comments
Change-Id: If932582d03bb2f6d3d14c9bce45cf2030f3b3c4e Signed-off-by: Subrata Banik <subrata.banik@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36838 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: V Sowmya <v.sowmya@intel.com> Reviewed-by: HAOUAS Elyes <ehaouas@noos.fr>
Diffstat (limited to 'src/soc/intel/common/hda_verb.c')
-rw-r--r--src/soc/intel/common/hda_verb.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/soc/intel/common/hda_verb.c b/src/soc/intel/common/hda_verb.c
index 3edad9be1e..03a23dfe0a 100644
--- a/src/soc/intel/common/hda_verb.c
+++ b/src/soc/intel/common/hda_verb.c
@@ -20,7 +20,7 @@
#include <delay.h>
#include "hda_verb.h"
-/**
+/*
* Set bits in a register and wait for status
*/
static int set_bits(void *port, u32 mask, u32 val)
@@ -52,7 +52,7 @@ static int set_bits(void *port, u32 mask, u32 val)
return 0;
}
-/**
+/*
* Probe for supported codecs
*/
int hda_codec_detect(u8 *base)
@@ -95,7 +95,7 @@ no_codec:
return 0;
}
-/**
+/*
* Wait 50usec for the codec to indicate it is ready
* no response would imply that the codec is non-operative
*/
@@ -116,7 +116,7 @@ static int hda_wait_for_ready(u8 *base)
return -1;
}
-/**
+/*
* Wait 50usec for the codec to indicate that it accepted
* the previous command. No response would imply that the code
* is non-operative
@@ -145,7 +145,7 @@ static int hda_wait_for_valid(u8 *base)
return -1;
}
-/**
+/*
* Find a specific entry within a verb table
*
* @param verb_table_bytes: verb table size in bytes
@@ -190,7 +190,7 @@ static u32 hda_find_verb(u32 verb_table_bytes,
return 0;
}
-/**
+/*
* Write a supplied verb table
*/
int hda_codec_write(u8 *base, u32 size, const u32 *data)
@@ -210,7 +210,7 @@ int hda_codec_write(u8 *base, u32 size, const u32 *data)
return 0;
}
-/**
+/*
* Initialize codec, then find the verb table and write it
*/
int hda_codec_init(u8 *base, int addr, int verb_size, const u32 *verb_data)