summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-03-18 17:08:09 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-03-22 12:59:57 +0000
commitaa566ad07f732016c0f0f962400a40a7ae3d4c8d (patch)
tree41ed001550a2c267fbecd551bb712da355a0cfd9 /src
parent480c2de54944ce733dbbfe097c774c3369fc2374 (diff)
soc/intel/common/hda_verb.c: Fix up comment style
Change-Id: I31c541fb197aca33ef64d2972a32924b61fd015c Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/51641 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src')
-rw-r--r--src/soc/intel/common/hda_verb.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/soc/intel/common/hda_verb.c b/src/soc/intel/common/hda_verb.c
index f4ef756d5f..41ecac11c5 100644
--- a/src/soc/intel/common/hda_verb.c
+++ b/src/soc/intel/common/hda_verb.c
@@ -18,7 +18,8 @@ int hda_codec_detect(u8 *base)
/* Write back the value once reset bit is set. */
write16(base + HDA_GCAP_REG, read16(base + HDA_GCAP_REG));
- /* Clear the "State Change Status Register" STATESTS bits
+ /*
+ * Clear the "State Change Status Register" STATESTS bits
* for each of the "SDIN Stat Change Status Flag"
*/
write8(base + HDA_STATESTS_REG, 0xf);
@@ -31,7 +32,7 @@ int hda_codec_detect(u8 *base)
if (azalia_exit_reset(base) < 0)
goto no_codec;
- /* Read in Codec location (BAR + 0xe)[2..0]*/
+ /* Read in Codec location (BAR + 0xe)[2..0] */
reg8 = read8(base + HDA_STATESTS_REG);
reg8 &= 0x0f;
if (!reg8)