From: Hans de Goede <hdegoede@redhat.com>
To: Antonio Ospite <ao2@ao2.it>, linux-media@vger.kernel.org
Subject: Re: [PATCH] gspca_stv06xx: enable button found on some Quickcam Express variant
Date: Mon, 14 Jul 2014 12:27:57 +0200 [thread overview]
Message-ID: <53C3B0AD.7070001@redhat.com> (raw)
In-Reply-To: <1405083417-20615-1-git-send-email-ao2@ao2.it>
Hi,
On 07/11/2014 02:56 PM, Antonio Ospite wrote:
> Signed-off-by: Antonio Ospite <ao2@ao2.it>
Thanks, I've added this to my tree and send a pull-req for it
to Mauro.
Regards,
Hans
> ---
> drivers/media/usb/gspca/stv06xx/stv06xx.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/media/usb/gspca/stv06xx/stv06xx.c b/drivers/media/usb/gspca/stv06xx/stv06xx.c
> index 49d209b..6ac93d8 100644
> --- a/drivers/media/usb/gspca/stv06xx/stv06xx.c
> +++ b/drivers/media/usb/gspca/stv06xx/stv06xx.c
> @@ -505,13 +505,13 @@ static int sd_int_pkt_scan(struct gspca_dev *gspca_dev,
> {
> int ret = -EINVAL;
>
> - if (len == 1 && data[0] == 0x80) {
> + if (len == 1 && (data[0] == 0x80 || data[0] == 0x10)) {
> input_report_key(gspca_dev->input_dev, KEY_CAMERA, 1);
> input_sync(gspca_dev->input_dev);
> ret = 0;
> }
>
> - if (len == 1 && data[0] == 0x88) {
> + if (len == 1 && (data[0] == 0x88 || data[0] == 0x11)) {
> input_report_key(gspca_dev->input_dev, KEY_CAMERA, 0);
> input_sync(gspca_dev->input_dev);
> ret = 0;
>
next prev parent reply other threads:[~2014-07-14 10:28 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-11 12:56 [PATCH] gspca_stv06xx: enable button found on some Quickcam Express variant Antonio Ospite
2014-07-14 10:27 ` Hans de Goede [this message]
2014-10-28 14:39 ` Antonio Ospite
2015-01-06 20:59 ` Antonio Ospite
2015-01-15 10:54 ` Hans de Goede
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=53C3B0AD.7070001@redhat.com \
--to=hdegoede@redhat.com \
--cc=ao2@ao2.it \
--cc=linux-media@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.