1. 04 8月, 2015 2 次提交
    • T
      mei: bus: link client devices instead of host clients · 6009595a
      Tomas Winkler 提交于
      MEI bus was designed around nfc and was hard to extend.
      Instead of the hard coded way of adding the devices on the mei bus
      we scan the whole me client list and create a device for each
      eligible me client (mei_cl_bus_rescan); currently we support
      only clients with single connection and fixed address clients.
      NFC radio name detection is run as a fixup routine
      
      The patch replaces handling the device list based on struct me_cl
      to device list based on me_cl_devices. The creating a connection
      is pushed from the device creation time to device enablement.
      Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      6009595a
    • T
      mei: bus: add me client device list infrastructure · 0ff0a8d8
      Tomas Winkler 提交于
      Instead of holding the list of host clients (me_cl)
      we want to keep the list me client devices (mei_cl_device)
      This way we can create host to me client connection only when needed.
      Add list head to mei_cl_device and cl_bus_lock
      Add bus_added flag to the me client (mei_me_client) to track if
      the appropriate mei_cl_device was already created and is_added
      flag to mei_cl_device to track if it was already added to the device
      list across the bus rescans
      Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      0ff0a8d8
  2. 08 7月, 2015 1 次提交
  3. 25 5月, 2015 1 次提交
  4. 02 3月, 2015 3 次提交
  5. 27 11月, 2014 1 次提交
  6. 29 9月, 2014 8 次提交
  7. 24 9月, 2014 2 次提交
  8. 28 5月, 2014 2 次提交
  9. 04 5月, 2014 4 次提交
  10. 19 2月, 2014 1 次提交
  11. 15 2月, 2014 1 次提交
  12. 08 2月, 2014 1 次提交
  13. 14 1月, 2014 2 次提交
  14. 09 1月, 2014 2 次提交
  15. 28 11月, 2013 1 次提交
  16. 30 10月, 2013 1 次提交
  17. 20 10月, 2013 1 次提交
  18. 04 10月, 2013 1 次提交
    • T
      mei: revamp open handler counts · 22f96a0e
      Tomas Winkler 提交于
      Make open counter to be incremented and decremented
      from mei_cl_link and mei_cl_unlik function respectively
      
      Nfc was assuming symmetric linking API and thus open handler
      count was never decreased. This patch fixes that.
      We need to add separate open hander count for amthif which
      is handled out of link/unlink functions and doesn't break
      the symmetric API.
      
      Last we do not waste clients slots if amthif or wd are not present
      in the device. we don't need to allocates slots ahead
      it is all covered by link/unlink before the devices is responding
      to user space connection and thus not racing on allocation
      Signed-off-by: NTomas Winkler <tomas.winkler@intel.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      22f96a0e
  19. 27 9月, 2013 1 次提交
  20. 27 7月, 2013 1 次提交
  21. 25 7月, 2013 1 次提交
  22. 24 7月, 2013 1 次提交
  23. 25 6月, 2013 1 次提交