Repository navigation
Commit 4aa9ef8
Bluetooth: btusb: Only check needs_reset_resume DMI table for QCA rome chipsets
commit fc54910 upstream.
Jeremy Cline correctly points out in rhbz#1514836 that a device where the
QCA rome chipset needs the USB_QUIRK_RESET_RESUME quirk, may also ship
with a different wifi/bt chipset in some configurations.
If that is the case then we are needlessly penalizing those other chipsets
with a reset-resume quirk, typically causing 0.4W extra power use because
this disables runtime-pm.
This commit moves the DMI table check to a btusb_check_needs_reset_resume()
helper (so that we can easily also call it for other chipsets) and calls
this new helper only for QCA_ROME chipsets for now.
BugLink: https://bugzilla.redhat.com/show_bug.cgi?id=1514836
Cc: stable@vger.kernel.org
Cc: Jeremy Cline <jcline@redhat.com>
Suggested-by: Jeremy Cline <jcline@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 4fcd033 commit 4aa9ef8
1 file changed
Lines changed: 7 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2902 | 2902 | | |
2903 | 2903 | | |
2904 | 2904 | | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
2905 | 2911 | | |
2906 | 2912 | | |
2907 | 2913 | | |
| |||
3037 | 3043 | | |
3038 | 3044 | | |
3039 | 3045 | | |
3040 | | - | |
3041 | | - | |
3042 | | - | |
3043 | 3046 | | |
3044 | 3047 | | |
3045 | 3048 | | |
| |||
3126 | 3129 | | |
3127 | 3130 | | |
3128 | 3131 | | |
| 3132 | + | |
3129 | 3133 | | |
3130 | 3134 | | |
3131 | 3135 | | |
| |||
0 commit comments