WSL2-Linux-Kernel/sound
Takashi Iwai c7273bd6c1 ALSA: hda/realtek - Add shutup hint
The pin shutup callback seems working well on some devices while it
does harm on some other devices; e.g. Lenovo laptops show often the
noises at (runtime) PM with the pin shutup enabled.

Currently, the only way to disable the pin shutup is to hard-code
  spec->shutup = alc_no_shutup;
in the fixup, and this makes the debugging harder for normal users.
For allowing users to test the similar effect without recompiling the
kernel, this patch adds a new hint string "shutup".  It's a boolean
value, and by passing false to this, user can turn off the pin shutup
call.

For example, to turn off the shutup on Lenovo P50, create a "firmware
patch" file (e.g. /lib/firmware/alsa/lenovo-p50) containing the
following lines:

  [codec]
  0x10ec0298 0x17aa222e 0

  [hint]
  shutup = no

and pass the file via patch option of snd-hda-intel module
(e.g. patch=alsa/lenovo-p50).

Signed-off-by: Takashi Iwai <tiwai@suse.de>
2018-06-13 07:44:06 +02:00
..
ac97
aoa
arm
atmel
core sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
drivers ALSA: aloop: Reduced duplicated PCM ops definition 2018-05-28 11:53:04 +02:00
firewire sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
hda ALSA: hda - Use a macro for snd_array iteration loops 2018-04-24 13:41:53 +02:00
i2c
isa sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
mips
oss
parisc
pci ALSA: hda/realtek - Add shutup hint 2018-06-13 07:44:06 +02:00
pcmcia
ppc
sh
soc ASoC: Updates for v4.18 2018-06-05 16:51:55 +02:00
sparc sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00
spi
synth
usb ALSA: usb-audio: Disable the quirk for Nura headset 2018-06-12 12:45:32 +02:00
x86
xen ALSA: xen-front: fix a loop timeout 2018-05-31 09:11:03 +02:00
Kconfig ALSA: xen-front: Introduce Xen para-virtualized sound frontend driver 2018-05-16 12:58:36 +02:00
Makefile ALSA: xen-front: Introduce Xen para-virtualized sound frontend driver 2018-05-16 12:58:36 +02:00
ac97_bus.c
last.c
sound_core.c sound: Use octal not symbolic permissions 2018-05-28 11:27:20 +02:00