summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2010-11-26 11:46:23 -0500
committerKyle McMartin <kyle@mcmartin.ca>2010-11-26 11:46:23 -0500
commite7fe04dcca1b617a2dc6da3918159a81963e6831 (patch)
treed9bef2ebd3504d37fee8d800802a9d684ecf510b
parent1fbeac414bb2911fc4730d1a9b7ef4c2a825623b (diff)
downloadkernel-e7fe04dcca1b617a2dc6da3918159a81963e6831.tar.gz
kernel-e7fe04dcca1b617a2dc6da3918159a81963e6831.tar.xz
kernel-e7fe04dcca1b617a2dc6da3918159a81963e6831.zip
hda/realtek: handle unset external amp bits
-rw-r--r--hda_realtek-handle-unset-external-amp-bits.patch12
-rw-r--r--kernel.spec8
2 files changed, 20 insertions, 0 deletions
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 000000000..8519fd32a
--- /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 dc2cfa81b..8b241d2b7 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 <kyle@redhat.com>
+- hda/realtek: handle unset external amp config (#657388)
+
* Wed Nov 24 2010 Kyle McMartin <kyle@redhat.com>
- Disable FSCACHE for CIFS until issues are addressed. (#656498)