From: Marc Dietrich <marvin24@gmx.de>
To: Paul Fertser <fercerpav@gmail.com>
Cc: devel@driverdev.osuosl.org,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-tegra@vger.kernel.org, ac100@lists.launchpad.net
Subject: Re: [PATCH] drivers: staging: nvec: remove bogus reset command for PS/2 interface
Date: Thu, 27 Oct 2016 15:59:51 +0200 [thread overview]
Message-ID: <5597933.jS9uVMUSFX@fb07-iapwap2> (raw)
In-Reply-To: <1477576595-20285-1-git-send-email-fercerpav@gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 1389 bytes --]
Hi Paul,
thanks for finding the issue!
Am Donnerstag, 27. Oktober 2016, 16:55:14 CEST schrieb Paul Fertser:
> This command was sent behind serio's back and the answer to it was
> confusing atkbd probe function which lead to the elantech touchpad
> getting detected as a keyboard.
>
> To prevent this from happening just let every party do its part of the
> job.
>
> Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Please send a complete patch in a new thread (or titled with V2) with the
serio type change included.
Thanks,
Marc
> ---
> drivers/staging/nvec/nvec_ps2.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/staging/nvec/nvec_ps2.c
> b/drivers/staging/nvec/nvec_ps2.c index c83eeb4..910e87b 100644
> --- a/drivers/staging/nvec/nvec_ps2.c
> +++ b/drivers/staging/nvec/nvec_ps2.c
> @@ -106,7 +106,6 @@ static int nvec_mouse_probe(struct platform_device
> *pdev) {
> struct nvec_chip *nvec = dev_get_drvdata(pdev->dev.parent);
> struct serio *ser_dev;
> - char mouse_reset[] = { NVEC_PS2, SEND_COMMAND, PSMOUSE_RST, 3 };
>
> ser_dev = devm_kzalloc(&pdev->dev, sizeof(struct serio), GFP_KERNEL);
> if (!ser_dev)
> @@ -127,9 +126,6 @@ static int nvec_mouse_probe(struct platform_device
> *pdev)
>
> serio_register_port(ser_dev);
>
> - /* mouse reset */
> - nvec_write_async(nvec, mouse_reset, sizeof(mouse_reset));
> -
> return 0;
> }
[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 455 bytes --]
[-- Attachment #2: Type: text/plain, Size: 169 bytes --]
_______________________________________________
devel mailing list
devel@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
prev parent reply other threads:[~2016-10-27 13:59 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-25 12:10 [PATCH] Revert "staging: nvec: ps2: change serio type to passthrough" Paul Fertser
2016-10-25 12:24 ` Marc Dietrich
2016-10-27 13:55 ` [PATCH] drivers: staging: nvec: remove bogus reset command for PS/2 interface Paul Fertser
2016-10-27 13:59 ` Marc Dietrich [this message]
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=5597933.jS9uVMUSFX@fb07-iapwap2 \
--to=marvin24@gmx.de \
--cc=ac100@lists.launchpad.net \
--cc=devel@driverdev.osuosl.org \
--cc=fercerpav@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=linux-tegra@vger.kernel.org \
/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