sound: x86: Trivial spell fixes throughout the file intel_hdmi_audio.c
PATCH 1/1 sound: x86: Trivial spell fixes throughout the file intel_hdmi_audio.c
s/confgiuration/configuration/
s/Calculte/Calculate/
s/unreference/unreferenced/
--- sound/x86/intel_hdmi_audio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
sound/x86/intel_hdmi_audio.c +3 -3
@@ -342,7 +342,7 @@ static int had_prog_status_reg(struct snd_pcm_substream *substream,/* * function to initialize audio -* registers and buffer confgiuration registers +* registers and buffer configuration registers * This function is called in the prepare callback */ static int had_init_audio_ctrl(struct snd_pcm_substream *substream,
@@ -611,7 +611,7 @@ static void had_prog_dip(struct snd_pcm_substream *substream, frame2.regx.chnl_cnt = substream->runtime->channels -1 ; frame3.regx.chnl_alloc = ca; -/* Calculte the byte wide checksum for all valid DIP words */ +/* Calculate the byte wide checksum for all valid DIP words */ for (i =0 ; i <BYTES_PER_WORD ; i++) checksum += (info_frame >> (i *8 )) &0xff ;for (i =0 ; i <BYTES_PER_WORD ; i++)
@@ -1109,7 +1109,7 @@ static int had_pcm_close(struct snd_pcm_substream *substream) intelhaddata =snd_pcm_substream_chip (substream); -/* unreference and sync with the pending PCM accesses */ +/* unreferenced and sync with the pending PCM accesses */ spin_lock_irq (&intelhaddata->had_spinlock); intelhaddata->stream_info.substream =NULL ; intelhaddata->stream_info.substream_refcount--;
--
2.30.0
Quoted 6 lines · Bhaskar Chowdhury
s/confgiuration/configuration/
s/Calculte/Calculate/
s/unreference/unreferenced/
The last one isn't correct. It was meant as a positive form, so if any, it's "unrefer", but "reference" could be used as a verb in the tech term, so IMO we can keep as is.
thanks,
Takashi
Quoted 40 lines
Signed-off-by Bhaskar Chowdhury <[email protected]>--- sound/x86/intel_hdmi_audio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)sound/x86/intel_hdmi_audio.c +3
-4@@ -342,7 +342,7 @@ static int had_prog_status_reg(struct snd_pcm_substream *substream,/* * function to initialize audio -* registers and buffer confgiuration registers +* registers and buffer configuration registers * This function is called in the prepare callback */ static int had_init_audio_ctrl(struct snd_pcm_substream *substream,@@ -611,7 +611,7 @@ static void had_prog_dip(struct snd_pcm_substream *substream, frame2.regx.chnl_cnt = substream->runtime->channels -1 ; frame3.regx.chnl_alloc = ca; -/* Calculte the byte wide checksum for all valid DIP words */ +/* Calculate the byte wide checksum for all valid DIP words */ for (i =0 ; i <BYTES_PER_WORD ; i++) checksum += (info_frame >> (i *8 )) &0xff ;for (i =0 ; i <BYTES_PER_WORD ; i++)@@ -1109,7 +1109,7 @@ static int had_pcm_close(struct snd_pcm_substream *substream) intelhaddata =snd_pcm_substream_chip (substream); -/* unreference and sync with the pending PCM accesses */ +/* unreferenced and sync with the pending PCM accesses */ spin_lock_irq (&intelhaddata->had_spinlock); intelhaddata->stream_info.substream =NULL ; intelhaddata->stream_info.substream_refcount--; --2.30.0
Quoted 5 lines · Takashi Iwai
Quoted 3 lines · Bhaskar Chowdhury
Quoted 8 lines
Quoted 3 lines
s/confgiuration/configuration/
s/Calculte/Calculate/
s/unreference/unreferenced/The last one isn't correct. It was meant as a positive form, so if any, it's "unrefer", but "reference" could be used as a verb in the tech term, so IMO we can keep as is.
Good catch...thanks Takashi! As you like. :)
Quoted 45 lines
thanks,
Takashi
Quoted 40 lines
Signed-off-by Bhaskar Chowdhury <[email protected]>--- sound/x86/intel_hdmi_audio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)sound/x86/intel_hdmi_audio.c +3
-4@@ -342,7 +342,7 @@ static int had_prog_status_reg(struct snd_pcm_substream *substream,/* * function to initialize audio -* registers and buffer confgiuration registers +* registers and buffer configuration registers * This function is called in the prepare callback */ static int had_init_audio_ctrl(struct snd_pcm_substream *substream,@@ -611,7 +611,7 @@ static void had_prog_dip(struct snd_pcm_substream *substream, frame2.regx.chnl_cnt = substream->runtime->channels -1 ; frame3.regx.chnl_alloc = ca; -/* Calculte the byte wide checksum for all valid DIP words */ +/* Calculate the byte wide checksum for all valid DIP words */ for (i =0 ; i <BYTES_PER_WORD ; i++) checksum += (info_frame >> (i *8 )) &0xff ;for (i =0 ; i <BYTES_PER_WORD ; i++)@@ -1109,7 +1109,7 @@ static int had_pcm_close(struct snd_pcm_substream *substream) intelhaddata =snd_pcm_substream_chip (substream); -/* unreference and sync with the pending PCM accesses */ +/* unreferenced and sync with the pending PCM accesses */ spin_lock_irq (&intelhaddata->had_spinlock); intelhaddata->stream_info.substream =NULL ; intelhaddata->stream_info.substream_refcount--; --2.30.0