From aa566ad07f732016c0f0f962400a40a7ae3d4c8d Mon Sep 17 00:00:00 2001 From: Angel Pons Date: Thu, 18 Mar 2021 17:08:09 +0100 Subject: soc/intel/common/hda_verb.c: Fix up comment style Change-Id: I31c541fb197aca33ef64d2972a32924b61fd015c Signed-off-by: Angel Pons Reviewed-on: https://review.coreboot.org/c/coreboot/+/51641 Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/soc/intel/common/hda_verb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/soc/intel') 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) -- cgit v1.2.3