diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-07-12 12:36:41 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-07-12 14:13:52 +0300 |
commit | 27757876d1738a2dd528986c8143192f84eaa58a (patch) | |
tree | 3d047169c74805ca08a4a3fe3790ffc432a69d59 /include/sound | |
parent | 4ff19229487f965118c6f14090edcc8cb6108605 (diff) | |
download | linux-27757876d1738a2dd528986c8143192f84eaa58a.tar.xz |
ALSA: intel8x0: Skip ac97 clock measurement on VM
The intel8x0 driver tries to measure the AC97 bus clock at the probe
time because there have been machines that are driven in different
rate (44.1kHz vs 48kHz). This was the past and currently most of
usages of this driver are on VM, and those are certainly fixed with
48k clock, hence it's useless and waste of time to measure.
This patch is an optimization, setting the fixed 48k rate if it's
detected to be running on a VM.
Link: https://lore.kernel.org/r/20210712093641.29079-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
0 files changed, 0 insertions, 0 deletions