From: Manu Abraham <manu@linuxtv.org>
To: Andrew Morton <akpm@osdl.org>
Cc: Michael Krufky <mkrufky@m1k.net>,
linux-kernel@vger.kernel.org, linux-dvb-maintainer@linuxtv.org
Subject: Re: [PATCH 01/37] dvb: dst: Correcty Identify Tuner and Daughterboards
Date: Thu, 03 Nov 2005 13:21:55 +0400 [thread overview]
Message-ID: <4369D6B3.60501@linuxtv.org> (raw)
In-Reply-To: <20051103132412.6266ccf0.akpm@osdl.org>
Andrew Morton wrote:
>Michael Krufky <mkrufky@m1k.net> wrote:
>
>
>> +static int dst_get_tuner_info(struct dst_state *state)
>> +{
>> + u8 get_tuner_1[] = { 0x00, 0x13, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
>> + u8 get_tuner_2[] = { 0x00, 0x0b, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 };
>> +
>> + get_tuner_1[7] = dst_check_sum(get_tuner_1, 7);
>> + get_tuner_2[7] = dst_check_sum(get_tuner_2, 7);
>> + if (state->type_flags & DST_TYPE_HAS_MULTI_FE) {
>> + if (dst_command(state, get_tuner_2, 8) < 0) {
>> + dprintk(verbose, DST_INFO, 1, "Unsupported Command");
>> + return -1;
>> + }
>> + } else {
>> + if (dst_command(state, get_tuner_1, 8) < 0) {
>> + dprintk(verbose, DST_INFO, 1, "Unsupported Command");
>> + return -1;
>> + }
>> + }
>> + memset(&state->board_info, '\0', 8);
>> + memcpy(&state->board_info, &state->rxbuffer, 8);
>>
>>
>
>The memset is unneeded...
>
>
Hello Andrew,
I will have that changed in dvb-kernel CVS. Would you like me to send in
a patch for the same. Or you can have it changed .. ?
Thanks,
Manu
next prev parent reply other threads:[~2005-11-03 9:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-01 8:12 [PATCH 01/37] dvb: dst: Correcty Identify Tuner and Daughterboards Michael Krufky
2005-11-03 2:24 ` Andrew Morton
2005-11-03 9:21 ` Manu Abraham [this message]
2005-11-03 14:24 ` Andrew Morton
2005-11-03 16:52 ` Manu Abraham
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=4369D6B3.60501@linuxtv.org \
--to=manu@linuxtv.org \
--cc=akpm@osdl.org \
--cc=linux-dvb-maintainer@linuxtv.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mkrufky@m1k.net \
/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