Skip to content

Commit

Permalink
ASoC: SOF: Intel: hda-stream: clarify comment
Browse files Browse the repository at this point in the history
The Yoda grammar and multiple negatives are unclear.

Signed-off-by: Pierre-Louis Bossart <[email protected]>
  • Loading branch information
plbossart committed Nov 13, 2023
1 parent 8451cdf commit 1b67be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/soc/sof/intel/hda-stream.c
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ static bool hda_dsp_stream_check(struct hdac_bus *bus, u32 status)
continue;
}

/* Inform ALSA only in case not do that with IPC */
/* Inform ALSA only if the IPC position is not used */
if (s->substream && sof_hda->no_ipc_position) {
snd_sof_pcm_period_elapsed(s->substream);
} else if (s->cstream) {
Expand Down

0 comments on commit 1b67be7

Please sign in to comment.