Re: [PATCH] Kernel 3.15-rc2 : Peak DVB-T USB tuner device ids for rtl28xxu driver

From: Mauro Carvalho Chehab
Date: Tue Apr 29 2014 - 10:16:20 EST


Em Mon, 28 Apr 2014 22:40:00 +0100
Brian Healy <healybrian@xxxxxxxxx> escreveu:

> From: Brian Healy <healybrian@xxxxxxxxx>
> To: Antti Palosaari <crope@xxxxxx>, Mauro Carvalho Chehab <m.chehab@xxxxxxxxxxx>
> Cc: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>, Linux Media Mailing List <linux-media@xxxxxxxxxxxxxxx>
> Subject: Re: [PATCH] Kernel 3.15-rc2 : Peak DVB-T USB tuner device ids for rtl28xxu driver
> Date: Mon, 28 Apr 2014 22:40:00 +0100
> Sender: linux-media-owner@xxxxxxxxxxxxxxx
> User-Agent: Mutt/1.5.21 (2010-09-15)
>
> On Sun, Apr 27, 2014 at 03:19:12PM -0700, Linus Torvalds wrote:
>
> Hi Linus,
>
> apologies, i've changed email clients in order to preserve the
> formatting this time around. The patch is now included inline as an
> attachment. I ran the script but noticed you've already cc'd the
> appropriate people.
>
> Brian.
>
>
> Resubmitting modified patch. It's purpose is to add the appropriate
> device/usb ids for the "Peak DVT-B usb dongle" to the rtl28xxu.c driver.
>
> Signed-off-by: Brian Healy <healybrian <at> gmail.com>
>
>
> > Brian, please use
> >
> > ./scripts/get_maintainer -f drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> >
> > to get the proper people to send this to, so that it doesn't get lost
> > in the flood in lkml.
> >
> > The indentation of that new entry also seems to be suspect, in that it
> > doesn't match the ones around it.
> >
> > Quoting full email for context for people added.
> >
> > Linus
> >
>
> diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> index 61d196e..b6e20cc 100644
> --- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> +++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.c
> @@ -1499,6 +1499,8 @@ static const struct usb_device_id rtl28xxu_id_table[] = {
> &rtl2832u_props, "Crypto ReDi PC 50 A", NULL) },
> { DVB_USB_DEVICE(USB_VID_KYE, 0x707f,
> &rtl2832u_props, "Genius TVGo DVB-T03", NULL) },
> + { DVB_USB_DEVICE(USB_VID_KWORLD_2, 0xd395,
> + &rtl2832u_props, "Peak DVB-T USB", NULL) },

Patch is still a little odd, as you're using spaces for indenting, instead of
tabs, but I can fix it with my scripts. Next time, please use tabs.

Also, specifically in the case of patches for linux-media, you don't need
to c/c me. Just send the patch to linux-media and to the driver maintainer
(Antti, in this case).

My workflow is to pick the patches from patchwork:
https://patchwork.linuxtv.org/patch/23792/
after receiving Antti's ack.

Alternatively, Antti may opt to put it on his git tree, sending it to me
latter together of other patches he may have for the devices he maintains.

>
> /* RTL2832P devices: */
> { DVB_USB_DEVICE(USB_VID_HANFTEK, 0x0131,

Thanks,
Mauro
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/