diff options
author | Mark Pearson <markpearson@lenovo.com> | 2021-03-02 17:10:03 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-03-04 11:14:36 +0300 |
commit | a14a6219996ee6f6e858d83b11affc7907633687 (patch) | |
tree | f2be6d7f844f3c2ffe3d97457f8f09da7a98c49c /Documentation/features | |
parent | 9799110825dba087c2bdce886977cf84dada2005 (diff) | |
download | linux-a14a6219996ee6f6e858d83b11affc7907633687.tar.xz |
ALSA: hda: ignore invalid NHLT table
On some Lenovo systems if the microphone is disabled in the BIOS
only the NHLT table header is created, with no data. This means
the endpoints field is not correctly set to zero - leading to an
unintialised variable and hence invalid descriptors are parsed
leading to page faults.
The Lenovo firmware team is addressing this, but adding a check
preventing invalid tables being parsed is worthwhile.
Tested on a Lenovo T14.
Tested-by: Philipp Leskovitz <philipp.leskovitz@secunet.com>
Reported-by: Philipp Leskovitz <philipp.leskovitz@secunet.com>
Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210302141003.7342-1-markpearson@lenovo.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'Documentation/features')
0 files changed, 0 insertions, 0 deletions