Message ID | 1390521623-6491-14-git-send-email-courtney.cavin@sonymobile.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 01/23/2014 04:00 PM, Courtney Cavin wrote: Although necessary, this is redundant to changes already submitted. > Cc: Christopher Heiny <cheiny@synaptics.com> > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com> > --- > 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; > } >
On Wed, Feb 05, 2014 at 12:10:41AM +0100, Christopher Heiny wrote: > On 01/23/2014 04:00 PM, Courtney Cavin wrote: > > Although necessary, this is redundant to changes already submitted. > Indeed. Sorry. > > Cc: Christopher Heiny <cheiny@synaptics.com> > > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > > Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com> > > --- > > 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; > > } > > -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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; }
Cc: Christopher Heiny <cheiny@synaptics.com> Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Signed-off-by: Courtney Cavin <courtney.cavin@sonymobile.com> --- drivers/input/rmi4/rmi_driver.c | 2 ++ 1 file changed, 2 insertions(+)