From: "John Tyner" <jtyner@cs.ucr.edu>
To: "Oliver Neukum" <oliver@neukum.name>, "Greg KH" <greg@kroah.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: Vicam/3com homeconnect usb camera driver
Date: Sun, 6 Oct 2002 10:35:09 -0700 [thread overview]
Message-ID: <001601c26d5e$b7a20fc0$0a00a8c0@refresco> (raw)
In-Reply-To: m17yAhF-006i5XC@Mail.ZEDAT.FU-Berlin.DE
> In vicam_v4l_open:
>
> Why is only the first control message checked for errors?
The second one turns on the LED. I didn't check it because I figured the LED
actually turning on was not a big deal. Though, I suppose that if an error
occurred, that could be indicative of some other problem.
> vicam_usb_probe:
>
> __devinit ???
>
> vicam_usb_disconnect:
>
> __devexit ???
I'm not sure I see the problem here. __devinit is only defined when HOTPLUG
is not defined, which seems right to me. If there is no HOTPLUG then we can
throw away the code as soon as init is completed. ...similar argument for
__devexit. Correct me if I'm wrong.
> And you should probably kill the tasklet before you unregister the video
> device.
Makes sense.
> PS: Is that just me, or did diff produce particularly unreadable output
> this time?
Probably. The existing driver always crashed on me. I started fresh with
this one partly as a learning experience. Therefore, the diff probably isn't
very readable since it is completely removing the old driver and putting
this one in its place.
I'll re-diff after the open and __devinit/__devexit discussion gets cleared
up.
Thanks,
John
next prev parent reply other threads:[~2002-10-06 17:31 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-06 2:58 Vicam/3com homeconnect usb camera driver John Tyner
2002-10-06 10:11 ` Oliver Neukum
2002-10-06 17:35 ` John Tyner [this message]
2002-10-06 22:01 ` Oliver Neukum
2002-10-06 23:25 ` John Tyner
2002-10-07 4:55 ` Oliver Neukum
2002-10-07 9:43 ` Oliver Neukum
2002-10-07 21:51 ` John Tyner
[not found] ` <001901c26e8d$3f62f850$0a00a8c0@refresco>
2002-10-08 16:30 ` [linux-usb-devel] " Oliver Neukum
-- strict thread matches above, loose matches on Subject: below --
2002-10-06 21:32 John Tyner
2002-10-06 21:44 ` Oliver Neukum
2002-10-04 3:59 John Tyner
2002-10-04 4:50 ` Greg KH
2002-10-04 5:05 ` John Tyner
2002-10-04 5:22 ` Greg KH
2002-10-06 2:57 ` John Tyner
2002-10-06 21:06 ` Pavel Machek
2002-10-07 18:43 ` John Tyner
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='001601c26d5e$b7a20fc0$0a00a8c0@refresco' \
--to=jtyner@cs.ucr.edu \
--cc=greg@kroah.com \
--cc=linux-kernel@vger.kernel.org \
--cc=oliver@neukum.name \
/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