From: Antti Palosaari <crope@iki.fi>
To: Oliver Schinagl <oliver+list@schinagl.nl>
Cc: linux-media@vger.kernel.org
Subject: Re: [PATCH] Support for Asus MyCinema U3100Mini Plus
Date: Thu, 20 Sep 2012 22:37:38 +0300 [thread overview]
Message-ID: <505B7082.80805@iki.fi> (raw)
In-Reply-To: <505B6E74.9020605@schinagl.nl>
On 09/20/2012 10:28 PM, Oliver Schinagl wrote:
> On 20-09-12 21:15, Antti Palosaari wrote:
>> On 09/20/2012 09:57 PM, oliver@schinagl.nl wrote:
>>> From: Oliver Schinagl <oliver@schinagl.nl>
>>>
>>> This is initial support for the Asus MyCinema U3100Mini Plus. The driver
>>> in its current form gets detected and loads properly.
>>>
>>> Scanning using dvbscan works without problems, Locking onto a channel
>>> using tzap also works fine. Only playback using tzap -r + mplayer was
>>> tested and was fully functional.
>>>
>>> It uses the af9035 USB Bridge chip, with an af9033 demodulator. The
>>> tuner
>>> used is the FCI FC2580.
>>>
>>> Signed-off-by: Oliver Schinagl <oliver@schinagl.nl>
>>
>> Acked-by: Antti Palosaari <crope@iki.fi>
>> Reviewed-by: Antti Palosaari <crope@iki.fi>
>>
>> It is OK. Mauro, please merge to the master.
> I do hope that it won't be a problem as I based it on your
> remotes/origin/for_v3.7-13
>>
>> @Oliver, you didn't fixed FC2580 useless braces as I requested.
>> Anyway, I will sent another patch to fix it later. Action not required.
> Ah, I did comment on that change in my reply on your comments; a
> re-paste from that:
>
> Checkpatch did not trigger on this. Which makes sense. Kernel
> CodingStyle is in very strong favor of K&R and from what I know from
> K&R, K&R strongly discourage not using braces as it is very likely to
> introduce bugs. Wikipedia has a small mention of this, then again
> wikipedia is wikipedia.
I am quite sure it says braces are not allowed for if () when it is
single line.
> I will take it out of you really want it out, but with checkpatch not
> even complaining, I would think this as an improvement. :D
Seems like you are correct, it does not detect it from the patch for
reason or the other. Maybe you could sent patch to fix checkpatch.pl :)
But it seems to find it when asked to check file correctness.
Anyway, my eyes seems to be again more careful than checkpatch ;-)
[crope@localhost linux]$ git show --format=email | ./scripts/checkpatch.pl -
total: 0 errors, 0 warnings, 141 lines checked
Your patch has no obvious style problems and is ready for submission.
[crope@localhost linux]$ ./scripts/checkpatch.pl --file
drivers/media/tuners/fc2580.c
WARNING: braces {} are not necessary for single statement blocks
#501: FILE: media/tuners/fc2580.c:501:
+ if ((chip_id != 0x56) && (chip_id != 0x5a)) {
+ goto err;
+ }
total: 0 errors, 1 warnings, 525 lines checked
drivers/media/tuners/fc2580.c has style problems, please review.
If any of these errors are false positives, please report
them to the maintainer, see CHECKPATCH in MAINTAINERS.
[crope@localhost linux]$
Antti
--
http://palosaari.fi/
next prev parent reply other threads:[~2012-09-20 19:38 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-20 18:57 [PATCH] Support for Asus MyCinema U3100Mini Plus oliver
2012-09-20 19:15 ` Antti Palosaari
2012-09-20 19:28 ` Oliver Schinagl
2012-09-20 19:37 ` Antti Palosaari [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-09-19 18:44 oliver
2012-09-19 20:52 ` Devin Heitmueller
2012-09-19 22:47 ` Oliver Schinagl
2012-09-20 18:54 ` Oliver Schinagl
2012-09-20 19:21 ` Devin Heitmueller
2012-09-19 21:36 ` Antti Palosaari
2012-09-20 18:54 ` Oliver Schinagl
2012-09-09 20:47 oliver
2012-09-09 20:49 ` Oliver Schinagl
2012-09-09 21:51 ` Antti Palosaari
2012-09-09 22:26 ` Oliver Schinagl
2012-09-09 22:29 ` Antti Palosaari
2012-09-10 9:58 ` Oliver Schinagl
2012-09-10 11:46 ` Antti Palosaari
2012-09-10 14:29 ` Oliver Schinagl
2012-09-10 17:28 ` Oliver Schinagl
2012-09-16 14:07 ` Oliver Schinagl
2012-09-16 16:43 ` Antti Palosaari
2012-09-16 15:03 ` Oliver Schinagl
2012-09-16 17:25 ` Antti Palosaari
2012-09-16 22:10 ` Oliver Schinagl
2012-09-16 23:36 ` Antti Palosaari
2012-09-17 8:25 ` Oliver Schinagl
2012-09-17 13:02 ` Oliver Schinagl
2012-09-17 13:16 ` Antti Palosaari
2012-09-17 13:26 ` Oliver Schinagl
2012-09-17 13:52 ` Antti Palosaari
2012-09-17 15:20 ` Oliver Schinagl
2012-09-17 20:43 ` Oliver Schinagl
2012-09-17 21:07 ` Antti Palosaari
2012-09-17 21:57 ` Oliver Schinagl
2012-09-18 17:18 ` Oliver Schinagl
2012-09-18 22:51 ` Antti Palosaari
2012-09-19 10:41 ` Oliver Schinagl
2012-09-19 10:53 ` Antti Palosaari
2012-09-17 20:43 ` Oliver Schinagl
2012-09-18 22:59 ` 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=505B7082.80805@iki.fi \
--to=crope@iki.fi \
--cc=linux-media@vger.kernel.org \
--cc=oliver+list@schinagl.nl \
/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.