Commit 7debcbb1 authored by Shailendra Verma's avatar Shailendra Verma Committed by Dmitry Torokhov

Input: cyapa - fix a few typos in comments

Signed-off-by: default avatarShailendra Verma <shailendra.capricorn@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent e4b88e19
...@@ -352,7 +352,7 @@ struct gen5_app_cmd_head { ...@@ -352,7 +352,7 @@ struct gen5_app_cmd_head {
u8 parameter_data[0]; /* Parameter data variable based on cmd_code */ u8 parameter_data[0]; /* Parameter data variable based on cmd_code */
} __packed; } __packed;
/* Applicaton get/set parameter command data structure */ /* Application get/set parameter command data structure */
struct gen5_app_set_parameter_data { struct gen5_app_set_parameter_data {
u8 parameter_id; u8 parameter_id;
u8 parameter_size; u8 parameter_size;
...@@ -832,7 +832,7 @@ static int gen5_hid_description_header_parse(struct cyapa *cyapa, u8 *reg_data) ...@@ -832,7 +832,7 @@ static int gen5_hid_description_header_parse(struct cyapa *cyapa, u8 *reg_data)
int ret; int ret;
/* 0x20 0x00 0xF7 is Gen5 Application HID Description Header; /* 0x20 0x00 0xF7 is Gen5 Application HID Description Header;
* 0x20 0x00 0xFF is Gen5 Booloader HID Description Header. * 0x20 0x00 0xFF is Gen5 Bootloader HID Description Header.
* *
* Must read HID Description content through out, * Must read HID Description content through out,
* otherwise Gen5 trackpad cannot response next command * otherwise Gen5 trackpad cannot response next command
...@@ -1654,8 +1654,8 @@ static int cyapa_gen5_set_power_mode(struct cyapa *cyapa, ...@@ -1654,8 +1654,8 @@ static int cyapa_gen5_set_power_mode(struct cyapa *cyapa,
* that trackpad unable to report signal to wake system up * that trackpad unable to report signal to wake system up
* in the special situation that system is in suspending, and * in the special situation that system is in suspending, and
* at the same time, user touch trackpad to wake system up. * at the same time, user touch trackpad to wake system up.
* This function can avoid the data to be buffured when system * This function can avoid the data to be buffered when system
* is suspending which may cause interrput line unable to be * is suspending which may cause interrupt line unable to be
* asserted again. * asserted again.
*/ */
cyapa_empty_pip_output_data(cyapa, NULL, NULL, NULL); cyapa_empty_pip_output_data(cyapa, NULL, NULL, NULL);
...@@ -2546,16 +2546,11 @@ static bool cyapa_gen5_irq_cmd_handler(struct cyapa *cyapa) ...@@ -2546,16 +2546,11 @@ static bool cyapa_gen5_irq_cmd_handler(struct cyapa *cyapa)
gen5_pip->resp_sort_func(cyapa, gen5_pip->resp_sort_func(cyapa,
gen5_pip->irq_cmd_buf, length))) { gen5_pip->irq_cmd_buf, length))) {
/* /*
* Cover the Gen5 V1 firmware issue. * Work around the Gen5 V1 firmware
* The issue is there is no interrut will be * that does not assert interrupt signalling
* asserted to notityf host to read a command * that command response is ready if user
* data out when always has finger touch on * keeps touching the trackpad while command
* trackpad during the command is issued to * is sent to the device.
* trackad device.
* This issue has the scenario is that,
* user always has his fingers touched on
* trackpad device when booting/rebooting
* their chrome book.
*/ */
length = 0; length = 0;
if (gen5_pip->resp_len) if (gen5_pip->resp_len)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment