sound/soc/codecs: fix spelling typo in comments
PATCH 1/1 sound/soc/codecs: fix spelling typo in comments
Modify the comment typo: "compliment" -> "complement".
--- sound/soc/codecs/ak4458.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/codecs/ak4458.h +1 -1
@@ -49,7 +49,7 @@/* DIF2 1 0 * x 1 0 MSB justified Figure 3 (default) -* x 1 1 I2S Compliment Figure 4 +* x 1 1 I2S Complement Figure 4 */ #define AK4458_DIF_SHIFT 1#define AK4458_DIF_MASK GENMASK(3, 1)
Signature · 1 line
2.7.4
Mark Brown
maintainerQuoted 1 line · Wang Qing
Modify the comment typo: "compliment" -> "complement".
These are both English words, and compliment appears to be the one that is used in the datasheet for this part...
Please submit patches using subject lines reflecting the style for the subsystem, this makes it easier for people to identify relevant patches. Look at what existing commits in the area you're changing are doing and make sure your subject lines visually resemble what they're doing. There's no need to resubmit to fix this alone.
Quoted 4 lines · Mark Brown
Quoted 1 line · Wang Qing
Modify the comment typo: "compliment" -> "complement".
These are both English words,
with rather different meanings.
Quoted 2 lines
and compliment appears to be the one that
is used in the datasheet for this part...
It's difficult to fix datasheet typos.
Mark Brown
maintainerQuoted 6 lines · Joe Perches
Quoted 2 lines · Mark Brown
and compliment appears to be the one that
is used in the datasheet for this part...It's difficult to fix datasheet typos.
Right, and if we search for the thing in the datasheet we should find the thing in the datasheet so it's best to follow the datsheet even if we don't think it's correct.
Quoted 9 lines · Mark Brown
Quoted 4 lines · Joe Perches
Quoted 2 lines · Mark Brown
and compliment appears to be the one that
is used in the datasheet for this part...It's difficult to fix datasheet typos.
Right, and if we search for the thing in the datasheet we should find the thing in the datasheet so it's best to follow the datsheet even if we don't think it's correct.
That's one opinion.
Another would be to use the correct word and
if necessary add some comment showing that the
datasheet writer didn't open a dictionary.
complement (sic: compliment)
I don't believe that's necessary, but opinions
vary.