From: Gianluca Gennari <gennarone@gmail.com>
To: pierigno <pierigno@gmail.com>
Cc: Antti Palosaari <crope@iki.fi>,
linux-media@vger.kernel.org, m@bues.ch, hfvogt@gmx.net,
mchehab@redhat.com
Subject: Re: [PATCH] af9035: add several new USB IDs
Date: Thu, 05 Apr 2012 18:20:47 +0200 [thread overview]
Message-ID: <4F7DC65F.7030007@gmail.com> (raw)
In-Reply-To: <CAN7fRVsGqUvmNkYbzmf5dKYjc_+n9T_3TTBp7Bawon3-awjfPQ@mail.gmail.com>
Thanks Pierangelo,
but there are still issues with your patch.
See in-line comments.
Il 05/04/2012 16:34, pierigno ha scritto:
> gosh!! I pasted the wrong patch, sorry for the noise, here it is (it
> should be applied against
> http://git.linuxtv.org/anttip/media_tree.git/shortlog/refs/heads/af9035_experimental):
>
>
> --- drivers/media/dvb/dvb-usb/af9035.c.origin 2012-04-05
> 15:31:55.431075058 +0200
> +++ drivers/media/dvb/dvb-usb/af9035.c 2012-04-05 15:26:44.483073976 +0200
> @@ -827,6 +827,7 @@ enum af9035_id_entry {
> AF9035_07CA_B835,
> AF9035_07CA_1867,
> AF9035_07CA_A867,
> + AF9035_07CA_0825,
here you define AF9035_07CA_0825....
> };
>
> static struct usb_device_id af9035_id[] = {
> @@ -844,6 +845,8 @@ static struct usb_device_id af9035_id[]
> USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_1867)},
> [AF9035_07CA_A867] = {
> USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A867)},
> + [AF9035_07CA_0825] = {
> + USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_TWINSTAR)},
> {},
> };
>
> @@ -886,7 +889,7 @@ static struct dvb_usb_device_properties
>
> .i2c_algo = &af9035_i2c_algo,
>
> - .num_device_descs = 4,
> + .num_device_descs = 5,
> .devices = {
> {
> .name = "TerraTec Cinergy T Stick",
> @@ -911,6 +914,10 @@ static struct dvb_usb_device_properties
> &af9035_id[AF9035_07CA_1867],
> &af9035_id[AF9035_07CA_A867],
> },
> + }, {
> + .name = "AVerMedia Twinstar (0825)",
> + .cold_ids = {
> + &af9035_id[AF9035_07CA_0235],
... and here you use AF9035_07CA_0235!
Also, I think the name should be something like "AVerMedia Twinstar
(A825)" since Avermedia code names usually are "Axxx".
> },
> }
> },
>
> --- drivers/media/dvb/dvb-usb/dvb-usb-ids.h.origin 2012-04-05
> 15:32:15.229075128 +0200
> +++ drivers/media/dvb/dvb-usb/dvb-usb-ids.h 2012-04-05 15:27:22.775074099 +0200
> @@ -228,6 +228,7 @@
> #define USB_PID_AVERMEDIA_B835 0xb835
> #define USB_PID_AVERMEDIA_1867 0x1867
> #define USB_PID_AVERMEDIA_A867 0xa867
> +#define USB_PID_AVERMEDIA_TWINSTAR 0x0825
> #define USB_PID_TECHNOTREND_CONNECT_S2400 0x3006
> #define USB_PID_TECHNOTREND_CONNECT_CT3650 0x300d
> #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY 0x005a
>
>
Also, remember to put your "Signed-off-by" line on the patch.
Regards,
Gianluca
next prev parent reply other threads:[~2012-04-05 16:20 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 11:47 [PATCH] af9035: add several new USB IDs Gianluca Gennari
2012-04-04 11:59 ` Antti Palosaari
2012-04-04 12:11 ` David Cohen
2012-04-04 12:40 ` Gianluca Gennari
2012-04-04 13:09 ` Antti Palosaari
2012-04-04 13:27 ` Gianluca Gennari
2012-04-05 14:23 ` pierigno
2012-04-05 14:34 ` pierigno
2012-04-05 16:20 ` Gianluca Gennari [this message]
2012-04-05 19:03 ` pierigno
2012-04-06 0:30 ` Antti Palosaari
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=4F7DC65F.7030007@gmail.com \
--to=gennarone@gmail.com \
--cc=crope@iki.fi \
--cc=hfvogt@gmx.net \
--cc=linux-media@vger.kernel.org \
--cc=m@bues.ch \
--cc=mchehab@redhat.com \
--cc=pierigno@gmail.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 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.