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>
This commit is contained in:
Angel Pons 2021-03-18 17:08:09 +01:00
parent 480c2de549
commit aa566ad07f
1 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,8 @@ int hda_codec_detect(u8 *base)
/* Write back the value once reset bit is set. */ /* Write back the value once reset bit is set. */
write16(base + HDA_GCAP_REG, read16(base + HDA_GCAP_REG)); 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" * for each of the "SDIN Stat Change Status Flag"
*/ */
write8(base + HDA_STATESTS_REG, 0xf); write8(base + HDA_STATESTS_REG, 0xf);
@ -31,7 +32,7 @@ int hda_codec_detect(u8 *base)
if (azalia_exit_reset(base) < 0) if (azalia_exit_reset(base) < 0)
goto no_codec; 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 = read8(base + HDA_STATESTS_REG);
reg8 &= 0x0f; reg8 &= 0x0f;
if (!reg8) if (!reg8)