mirror of https://github.com/torvalds/linux.git
Currently the platform filter cannot access any driver-specific state which forces drivers installing a i8042 filter to have at least some kind of global pointer for their filter. Allow callers of i8042_install_filter() to submit a context pointer which is then passed to the i8042 filter. This frees drivers from the responsibility of having to manage this global pointer themself. Also introduce a separate type for the i8042 filter (i8042_filter_t) so that the function definitions can stay compact. Tested on a Dell Inspiron 3505. Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> Acked-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20250113221314.435812-1-W_Armin@gmx.de Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| altera_ps2.c | ||
| ambakmi.c | ||
| ams_delta_serio.c | ||
| apbps2.c | ||
| arc_ps2.c | ||
| ct82c710.c | ||
| gscps2.c | ||
| hil_mlc.c | ||
| hp_sdc.c | ||
| hp_sdc_mlc.c | ||
| hyperv-keyboard.c | ||
| i8042-acpipnpio.h | ||
| i8042-io.h | ||
| i8042-ip22io.h | ||
| i8042-jazzio.h | ||
| i8042-snirm.h | ||
| i8042-sparcio.h | ||
| i8042.c | ||
| i8042.h | ||
| ioc3kbd.c | ||
| libps2.c | ||
| maceps2.c | ||
| olpc_apsp.c | ||
| parkbd.c | ||
| pcips2.c | ||
| ps2-gpio.c | ||
| ps2mult.c | ||
| q40kbd.c | ||
| rpckbd.c | ||
| sa1111ps2.c | ||
| serio.c | ||
| serio_raw.c | ||
| serport.c | ||
| sun4i-ps2.c | ||
| userio.c | ||
| xilinx_ps2.c | ||