Thread (59 messages) 59 messages, 4 authors, 2014-02-13

Re: [PATCH 13/15] Input: synaptics-rmi4 - properly set F01 container on PDT scan

From: Christopher Heiny <hidden>
Date: 2014-02-04 23:10:42

On 01/23/2014 04:00 PM, Courtney Cavin wrote:

Although necessary, this is redundant to changes already submitted.
quoted hunk ↗ jump to hunk
Cc: Christopher Heiny <redacted>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Courtney Cavin <redacted>
---
  drivers/input/rmi4/rmi_driver.c | 2 ++
  1 file changed, 2 insertions(+)
diff --git a/drivers/input/rmi4/rmi_driver.c b/drivers/input/rmi4/rmi_driver.c
index 52345ae..9d8d6ec 100644
--- a/drivers/input/rmi4/rmi_driver.c
+++ b/drivers/input/rmi4/rmi_driver.c
@@ -488,6 +488,8 @@ static int create_function(struct rmi_device *rmi_dev,
  		return error;

  	list_add_tail(&fn->node, &data->function_list);
+	if (pdt->function_number == 0x01)
+		data->f01_container = fn;

  	return 0;
  }

-- 

Christopher Heiny
Senior Staff Firmware Engineer
Synaptics Incorporated
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help