Commit 82cb8a5
committed
platform/x86: acer-wmi: Add ACER_CAP_SET_FUNCTION_MODE capability flag
Not all devices supporting WMID_GUID3 support the wmid3_set_function_mode()
call, leading to errors like these:
[ 60.138358] acer_wmi: Enabling RF Button failed: 0x1 - 0xff
[ 60.140036] acer_wmi: Enabling Launch Manager failed: 0x1 - 0xff
Add an ACER_CAP_SET_FUNCTION_MODE capability flag, so that these calls
can be disabled through the new force_caps mechanism.
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20201019185628.264473-5-hdegoede@redhat.com1 parent 39aa009 commit 82cb8a5
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
213 | 214 | | |
214 | 215 | | |
215 | 216 | | |
| |||
2195 | 2196 | | |
2196 | 2197 | | |
2197 | 2198 | | |
| 2199 | + | |
| 2200 | + | |
| 2201 | + | |
2198 | 2202 | | |
2199 | 2203 | | |
2200 | 2204 | | |
2201 | | - | |
| 2205 | + | |
| 2206 | + | |
2202 | 2207 | | |
2203 | 2208 | | |
2204 | 2209 | | |
| |||
0 commit comments