OSDN Git Service
FOR_UPSTREAM: hid: hid-sensor-hub: Add selector api
API is added to get the index of a selector. This API
will search for usage id in the field usage list and
return the index.
For: AIAF-4024
Change-Id: I63fd419b5908f5145c8384c5a4ff2855ba562129
Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Reviewed-on: https://android.intel.com/160116
Reviewed-by: Patni, Archana <archana.patni@intel.com>
Tested-by: Patni, Archana <archana.patni@intel.com>
Reviewed-by: Sesha, Subramony <subramony.sesha@intel.com>
Tested-by: sys_abtbuild <sys_abtbuild@intel.com>
Reviewed-by: Nordell, Joakim <joakim.nordell@intel.com>
Reviewed-by: Odeberg, Hans <hans.odeberg@intel.com>