From e7fe04dcca1b617a2dc6da3918159a81963e6831 Mon Sep 17 00:00:00 2001 From: Kyle McMartin Date: Nov 26 2010 16:46:23 +0000 Subject: hda/realtek: handle unset external amp bits --- diff --git a/hda_realtek-handle-unset-external-amp-bits.patch b/hda_realtek-handle-unset-external-amp-bits.patch new file mode 100644 index 0000000..8519fd3 --- /dev/null +++ b/hda_realtek-handle-unset-external-amp-bits.patch @@ -0,0 +1,12 @@ +diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c +index 0ac6aed..53f503d 100644 +--- a/sound/pci/hda/patch_realtek.c ++++ b/sound/pci/hda/patch_realtek.c +@@ -1614,6 +1614,7 @@ do_sku: + spec->init_amp = ALC_INIT_GPIO3; + break; + case 5: ++ default: + spec->init_amp = ALC_INIT_DEFAULT; + break; + } diff --git a/kernel.spec b/kernel.spec index dc2cfa8..8b241d2 100644 --- a/kernel.spec +++ b/kernel.spec @@ -740,6 +740,8 @@ Patch12405: inet_diag-make-sure-we-run-the-same-bytecode-we-audited.patch Patch12406: posix-cpu-timers-workaround-to-suppress-problems-with-mt-exec.patch +Patch12407: hda_realtek-handle-unset-external-amp-bits.patch + %endif BuildRoot: %{_tmppath}/kernel-%{KVERREL}-root @@ -1379,6 +1381,9 @@ ApplyPatch inet_diag-make-sure-we-run-the-same-bytecode-we-audited.patch # rhbz#656264 ApplyPatch posix-cpu-timers-workaround-to-suppress-problems-with-mt-exec.patch +# rhbz#657388 +ApplyPatch hda_realtek-handle-unset-external-amp-bits.patch + # END OF PATCH APPLICATIONS %endif @@ -1992,6 +1997,9 @@ fi # || || %changelog +* Fri Nov 26 2010 Kyle McMartin +- hda/realtek: handle unset external amp config (#657388) + * Wed Nov 24 2010 Kyle McMartin - Disable FSCACHE for CIFS until issues are addressed. (#656498)