{"push_id":1251479643,"size":1,"distinct_size":1,"ref":"refs/heads/6.0.1","head":"627657dce0bf8868382f5cb966700c02041aaa76","before":"b2b1a9076973bf2efc982c0f3a2de977fd6c9993","commits":[{"sha":"627657dce0bf8868382f5cb966700c02041aaa76","author":{"name":"Arnd Bergmann","email":"72a0f6d3b182607e6d5c44b93e1abb7b23ee18f3@arndb.de"},"message":"Input: eeti_ts: pass gpio value instead of IRQ\n\ncommit 4eef6cbfcc03b294d9d334368a851b35b496ce53 upstream.\n\nThe EETI touchscreen asserts its IRQ line as soon as it has data in its\ninternal buffers. The line is automatically deasserted once all data has\nbeen read via I2C. Hence, the driver has to monitor the GPIO line and\ncannot simply rely on the interrupt handler reception.\n\nIn the current implementation of the driver, irq_to_gpio() is used to\ndetermine the GPIO number from the i2c_client's IRQ value.\n\nAs irq_to_gpio() is not available on all platforms, this patch changes\nthis and makes the driver ignore the passed in IRQ. Instead, a GPIO is\nadded to the platform_data struct and gpio_to_irq is used to derive the\nIRQ from that GPIO. If this fails, bail out. The driver is only able to\nwork in environments where the touchscreen GPIO can be mapped to an\nIRQ.\n\nWithout this patch, building raumfeld_defconfig results in:\n\ndrivers/input/touchscreen/eeti_ts.c: In function 'eeti_ts_irq_active':\ndrivers/input/touchscreen/eeti_ts.c:65:2: error: implicit declaration of function 'irq_to_gpio' [-Werror=implicit-function-declaration]\n\nSigned-off-by: Daniel Mack <zonque@gmail.com>\nSigned-off-by: Arnd Bergmann <arnd@arndb.de>\nCc: Dmitry Torokhov <dmitry.torokhov@gmail.com>\nCc: Sven Neumann <s.neumann@raumfeld.com>\nCc: linux-input@vger.kernel.org\nCc: Haojian Zhuang <haojian.zhuang@gmail.com>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","distinct":true,"url":"https://api.github.com/repos/dblockopp/G3_CooCoo_Kernel/commits/627657dce0bf8868382f5cb966700c02041aaa76"}]}
{"actor":{"display_login":"dblockopp"}}