From: Dmitry Torokhov <dmitry.torokhov@gmail.com>
To: Matteo Croce <mcroce@redhat.com>
Cc: linux-input@vger.kernel.org, Andrew Duggan <aduggan@synaptics.com>
Subject: Re: [PATCH] synaptics: fix rmi4 bus dependencies
Date: Tue, 2 Jan 2018 11:21:43 -0800 [thread overview]
Message-ID: <20180102192143.egooy4onto73qd3y@dtor-ws> (raw)
In-Reply-To: <20180102191609.21460-1-mcroce@redhat.com>
On Tue, Jan 02, 2018 at 08:16:09PM +0100, Matteo Croce wrote:
> Make MOUSE_PS2_SYNAPTICS_SMBUS select MOUSE_PS2_SYNAPTICS because if
> the latter is disabled the detection and switching code isn't being run.
Hmm, it should. In synaptics.c:
#if defined(CONFIG_MOUSE_PS2_SYNAPTICS) || \
defined(CONFIG_MOUSE_PS2_SYNAPTICS_SMBUS)
int synaptics_init(struct psmouse *psmouse)
{
struct synaptics_device_info info;
int error;
int retval;
psmouse_reset(psmouse);
...
}
The intent was to allow disabling the PS/2 portion of Synaptics driver
while retaining the switching to SMbus capability.
Thanks.
>
> Signed-off-by: Matteo Croce <mcroce@redhat.com>
> ---
> drivers/input/mouse/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/input/mouse/Kconfig b/drivers/input/mouse/Kconfig
> index 89ebb8f39fee..77a0bcb611a4 100644
> --- a/drivers/input/mouse/Kconfig
> +++ b/drivers/input/mouse/Kconfig
> @@ -83,6 +83,7 @@ config MOUSE_PS2_SYNAPTICS_SMBUS
> default y
> depends on MOUSE_PS2
> depends on I2C=y || I2C=MOUSE_PS2
> + select MOUSE_PS2_SYNAPTICS
> select MOUSE_PS2_SMBUS
> help
> Say Y here if you have a Synaptics RMI4 touchpad connected to
> --
> 2.14.3
>
--
Dmitry
next prev parent reply other threads:[~2018-01-02 19:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-02 19:16 [PATCH] synaptics: fix rmi4 bus dependencies Matteo Croce
2018-01-02 19:21 ` Dmitry Torokhov [this message]
2018-01-02 19:37 ` Andrew Duggan
2018-01-09 22:19 ` Dmitry Torokhov
2018-01-16 18:08 ` Matteo Croce
2018-01-16 23:44 ` Dmitry Torokhov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180102192143.egooy4onto73qd3y@dtor-ws \
--to=dmitry.torokhov@gmail.com \
--cc=aduggan@synaptics.com \
--cc=linux-input@vger.kernel.org \
--cc=mcroce@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox