From: Frank Schaefer Date: Sun, 1 Dec 2013 21:06:52 +0000 (-0300) Subject: [media] em28xx: extend the support for device buttons X-Git-Tag: v3.14-rc1~20^2~341 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f522260993822d82e2c480aa676aa4ca1230d235;p=pandora-kernel.git [media] em28xx: extend the support for device buttons The current code supports only a single snapshot button assigned to register 0x0c bit 5. But devices may be equipped with multiple buttons with different functionalities and they can also be assigned to the various GPI-ports. Extend the em28xx-input code to handle multiple buttons assigned to different GPI-ports / register addresses and bits. Also make easier to extend the code with further button types. Signed-off-by: Frank Schäfer Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed