From: "Måns Rullgård" <mans@mansr.com>
To: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Cc: Sean Young <sean@mess.org>,
Mauro Carvalho Chehab <mchehab@kernel.org>,
linux-media <linux-media@vger.kernel.org>,
Thibaud Cornic <thibaud_cornic@sigmadesigns.com>,
Mason <slash.tmp@free.fr>
Subject: Re: [PATCH v1] media: rc: Add driver for tango IR decoder
Date: Mon, 18 Sep 2017 16:33:47 +0100 [thread overview]
Message-ID: <yw1xd16oyqas.fsf@mansr.com> (raw)
In-Reply-To: <e05783d3-012d-0798-9a54-ff42039e728d@sigmadesigns.com> (Marc Gonzalez's message of "Mon, 18 Sep 2017 16:18:56 +0200")
Marc Gonzalez <marc_gonzalez@sigmadesigns.com> writes:
> The tango IR decoder supports NEC, RC-5, RC-6 protocols.
> NB: Only the NEC decoder was tested.
>
> Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
> ---
> drivers/media/rc/Kconfig | 5 +
> drivers/media/rc/Makefile | 1 +
> drivers/media/rc/tango-ir.c | 263 ++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 269 insertions(+)
> create mode 100644 drivers/media/rc/tango-ir.c
>
> diff --git a/drivers/media/rc/Kconfig b/drivers/media/rc/Kconfig
> index d9ce8ff55d0c..f84923289964 100644
> --- a/drivers/media/rc/Kconfig
> +++ b/drivers/media/rc/Kconfig
> @@ -469,6 +469,11 @@ config IR_SIR
> To compile this driver as a module, choose M here: the module will
> be called sir-ir.
> +config IR_TANGO
> + tristate "Sigma Designs SMP86xx IR decoder"
> + depends on RC_CORE
> + depends on ARCH_TANGO || COMPILE_TEST
> +
> config IR_ZX
> tristate "ZTE ZX IR remote control"
> depends on RC_CORE
This hunk looks damaged.
What have you changed compared to my original code?
I tested all three protocols with a few random remotes I had lying
around back when I wrote the driver, but that's quite a while ago.
You should also write a devicetree binding.
Finally, when sending patches essentially written by someone else,
please make sure to set a From: line for correct attribution. It's not
nice to take other people's code and apparently pass it off as your own
even you've made a few small changes.
--
Måns Rullgård
next prev parent reply other threads:[~2017-09-18 15:41 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-18 14:18 [PATCH v1] media: rc: Add driver for tango IR decoder Marc Gonzalez
2017-09-18 15:33 ` Måns Rullgård [this message]
2017-09-19 8:45 ` Marc Gonzalez
2017-09-19 9:48 ` Måns Rullgård
2017-09-19 11:34 ` Marc Gonzalez
2017-09-19 11:54 ` Måns Rullgård
2017-09-19 11:53 ` Marc Gonzalez
2017-09-19 12:21 ` Måns Rullgård
2017-09-19 12:43 ` Marc Gonzalez
2017-09-19 14:32 ` Måns Rullgård
2017-09-21 11:19 ` Sean Young
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=yw1xd16oyqas.fsf@mansr.com \
--to=mans@mansr.com \
--cc=linux-media@vger.kernel.org \
--cc=marc_gonzalez@sigmadesigns.com \
--cc=mchehab@kernel.org \
--cc=sean@mess.org \
--cc=slash.tmp@free.fr \
--cc=thibaud_cornic@sigmadesigns.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