Disable CONFIG_HID_BATTERY_STRENGTH (rhbz 806295)

This commit is contained in:
Josh Boyer 2012-04-18 09:49:29 -04:00
parent 185d60abac
commit 65b484ac04
2 changed files with 21 additions and 1 deletions

11
disable-hid-battery.patch Normal file
View File

@ -0,0 +1,11 @@
--- linux-2.6.43.noarch.orig/drivers/hid/Kconfig
+++ linux-2.6.43.noarch/drivers/hid/Kconfig
@@ -34,7 +34,7 @@ config HID
config HID_BATTERY_STRENGTH
bool
depends on HID && POWER_SUPPLY && HID = POWER_SUPPLY
- default y
+ default n
config HIDRAW
bool "/dev/hidraw raw HID device support"

View File

@ -54,7 +54,7 @@ Summary: The Linux kernel
# For non-released -rc kernels, this will be appended after the rcX and
# gitX tags, so a 3 here would become part of release "0.rcX.gitX.3"
#
%global baserelease 3
%global baserelease 4
%global fedora_build %{baserelease}
# base_sublevel is the kernel version we're starting with and patching
@ -797,6 +797,9 @@ Patch21530: ALSA-hda-realtek-Add-quirk-for-Mac-Pro-5-1-machines.patch
Patch21700: x86-microcode-Fix-sysfs-warning-during-module-unload-on-unsupported-CPUs.patch
Patch21701: x86-microcode-Ensure-that-module-is-only-loaded-for-supported-AMD-CPUs.patch
#rhbz 806295
Patch21710: disable-hid-battery.patch
# Debug patches
Patch30000: weird-root-dentry-name-debug.patch
Patch30010: debug-808990.patch
@ -1493,6 +1496,9 @@ ApplyPatch x86-Use-correct-byte-sized-register-constraint-in-__add.patch
ApplyPatch x86-microcode-Fix-sysfs-warning-during-module-unload-on-unsupported-CPUs.patch
ApplyPatch x86-microcode-Ensure-that-module-is-only-loaded-for-supported-AMD-CPUs.patch
#rhbz 806295
ApplyPatch disable-hid-battery.patch
# END OF PATCH APPLICATIONS
%endif
@ -2231,6 +2237,9 @@ fi
# and build.
%changelog
* Wed Apr 18 2012 Josh Boyer <jwboyer@redhat.com>
- Disable CONFIG_HID_BATTERY_STRENGTH (rhbz 806295)
* Tue Apr 17 2012 Mauro Carvalho Chehab <mchehab@redhat.com>
- Fix DVB-S2->DVB-S switch regression (rhbz 812895)