diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2022-10-31 22:55:05 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2022-11-01 13:50:55 +0300 |
commit | 10e794bdba2734bad0d61864e7e526b13b75aa6b (patch) | |
tree | eeb69ff60fff3949dd898e43b5de2aa2394899f6 /usr | |
parent | 46cf1954de3f324dc7f9472c12c3bd03b268a11b (diff) | |
download | linux-10e794bdba2734bad0d61864e7e526b13b75aa6b.tar.xz |
ALSA: hda: clarify comments on SCF changes
The commit 1f9d3d98694b1 ("ALSA: hda - set intel audio clock to a
proper value") added a number of misleading comments.
There is no ability to detect if an SCF value was set or not, what the
code does is prevent the use of the 6MHz audio clock represented by
the value 0 in LCTL.SCF. Changing the SCF settings does require the
link to be power-cycled, but in all other cases the link is powered
automatically when exiting reset. In other words, the power-cycle is
an exception to the rule that the HDaudio legacy driver does not need
to program SPA/CPA bits.
In addition, the SCF related changes are only relevant for the first
link.
No functionality change, only comment clarifications.
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20221031195505.249929-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions