summaryrefslogtreecommitdiff
path: root/driver/touchpad_st.c
diff options
context:
space:
mode:
authorWei-Han Chen <stimim@google.com>2018-08-29 15:52:00 +0800
committerchrome-bot <chrome-bot@chromium.org>2018-08-31 11:19:48 -0700
commit188dc60833566b6c93165b60ef1e04b89999c6e0 (patch)
tree8744c266aac1417fef1271f70afa5171a25d6a9e /driver/touchpad_st.c
parent3303cf3d0427555beae12d4bb1af37303dfbabef (diff)
downloadchrome-ec-188dc60833566b6c93165b60ef1e04b89999c6e0.tar.gz
touchpad heatmap: set subclass and protocol
BRANCH=none TEST=make buildall -j TEST=test on whiskers BUG=b:70482333 Signed-off-by: Wei-Han Chen <stimim@chromium.org> Change-Id: Ieadb743b428997ca1e7c9d45837f503d3023f779 Reviewed-on: https://chromium-review.googlesource.com/1198942 Commit-Ready: Wei-Han Chen <stimim@chromium.org> Tested-by: Wei-Han Chen <stimim@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org>
Diffstat (limited to 'driver/touchpad_st.c')
-rw-r--r--driver/touchpad_st.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver/touchpad_st.c b/driver/touchpad_st.c
index 1a4835125f..424069c275 100644
--- a/driver/touchpad_st.c
+++ b/driver/touchpad_st.c
@@ -1076,8 +1076,8 @@ static void st_tp_usb_tx_callback(struct usb_isochronous_config const *config);
USB_ISOCHRONOUS_CONFIG_FULL(usb_st_tp_heatmap_config,
USB_IFACE_ST_TOUCHPAD,
USB_CLASS_VENDOR_SPEC,
- 0, /* subclass */
- 0, /* protocol */
+ USB_SUBCLASS_GOOGLE_HEATMAP,
+ USB_PROTOCOL_GOOGLE_HEATMAP,
USB_STR_HEATMAP_NAME, /* interface name */
USB_EP_ST_TOUCHPAD,
USB_ISO_PACKET_SIZE,