···105105 linux,code = <SW_FRONT_PROXIMITY>;106106 linux,can-disable;107107 };108108+109109+ machine_cover {110110+ label = "Machine Cover";111111+ gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* 160 */112112+ linux,input-type = <EV_SW>;113113+ linux,code = <SW_MACHINE_COVER>;114114+ linux,can-disable;115115+ };108116 };109117110118 isp1707: isp1707 {···827819 pinctrl-0 = <&mmc1_pins>;828820 vmmc-supply = <&vmmc1>;829821 bus-width = <4>;830830- /* For debugging, it is often good idea to remove this GPIO.831831- It means you can remove back cover (to reboot by removing832832- battery) and still use the MMC card. */833833- cd-gpios = <&gpio6 0 GPIO_ACTIVE_LOW>; /* 160 */834822};835823836824/* most boards use vaux3, only some old versions use vmmc2 instead */
+1
drivers/input/joystick/Kconfig
···4545config JOYSTICK_ADI4646 tristate "Logitech ADI digital joysticks and gamepads"4747 select GAMEPORT4848+ depends on ADI!=m # avoid module name conflict4849 help4950 Say Y here if you have a Logitech controller using the ADI5051 protocol over the PC gameport.
+5-4
drivers/input/mouse/elan_i2c_core.c
···997997 u8 hover_info = packet[ETP_HOVER_INFO_OFFSET];998998 bool contact_valid, hover_event;99999910001000+ pm_wakeup_event(&data->client->dev, 0);10011001+10001002 hover_event = hover_info & BIT(6);1001100310021004 for (i = 0; i < ETP_MAX_FINGERS; i++) {···10221020 struct input_dev *input = data->tp_input;10231021 u8 *packet = &report[ETP_REPORT_ID_OFFSET + 1];10241022 int x, y;10231023+10241024+ pm_wakeup_event(&data->client->dev, 0);1025102510261026 if (!data->tp_input) {10271027 dev_warn_once(&data->client->dev,···10491045static irqreturn_t elan_isr(int irq, void *dev_id)10501046{10511047 struct elan_tp_data *data = dev_id;10521052- struct device *dev = &data->client->dev;10531048 int error;10541049 u8 report[ETP_MAX_REPORT_LEN];10551050···10661063 if (error)10671064 goto out;1068106510691069- pm_wakeup_event(dev, 0);10701070-10711066 switch (report[ETP_REPORT_ID_OFFSET]) {10721067 case ETP_REPORT_ID:10731068 elan_report_absolute(data, report, false);···10771076 elan_report_trackpoint(data, report);10781077 break;10791078 default:10801080- dev_err(dev, "invalid report id data (%x)\n",10791079+ dev_err(&data->client->dev, "invalid report id data (%x)\n",10811080 report[ETP_REPORT_ID_OFFSET]);10821081 }10831082