1. 22 4月, 2011 1 次提交
    • B
      HID: hid-multitouch: refactor last_field_index · 2955caed
      Benjamin Tissoires 提交于
      the current implementation requires the devices to report
      HID_DG_CONTACTCOUNT to set the last_field_index value.
      However, devices reporting in serial mode (DWAV and PenMount)
      do not send this field.
      Other devices (3M) add other fields in the reports descriptor
      that are not multitouch related at the end, thus the need to
      add a special case in the default case when handling events.
      
      A first work around has been set up but with PenMount devices,
      we have reached the limit.
      
      The idea is to calculate the last_field_index by relying only on
      multitouch fields the device send. This allows us to remove
      the handling of non-multitouch events in hid-multitouch, and
      guarantee that the function mt_emit_event is always called.
      Signed-off-by: NBenjamin Tissoires <benjamin.tissoires@enac.fr>
      Reviewed-and-tested-by: NHenrik Rydberg <rydberg@euromail.se>
      Signed-off-by: NJiri Kosina <jkosina@suse.cz>
      2955caed
  2. 24 3月, 2011 1 次提交
  3. 22 3月, 2011 4 次提交
  4. 19 3月, 2011 1 次提交
    • G
      spi/dw_spi: move dw_spi.h into drivers/spi · 568a60ed
      Grant Likely 提交于
      include/linux/dw_spi.h only includes driver internal data.  It doesn't
      expose a platform_data configuration structure or similar (at least
      nothing in-tree).  This patch moves the header into drivers/spi so
      that the scope is limited to only the dw_spi_*.c driver files
      Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
      Cc: Feng Tang <feng.tang@intel.com>
      Cc: spi-devel-general@lists.sourceforge.net
      568a60ed
  5. 18 3月, 2011 8 次提交
  6. 17 3月, 2011 25 次提交