Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 235874
b: refs/heads/master
c: aff512c
h: refs/heads/master
v: v3
  • Loading branch information
Tomas Winkler authored and Greg Kroah-Hartman committed Feb 9, 2011
1 parent 744a2e4 commit 55594e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ee99aa4928129d4aad9087988db6b7815ecdc1d5
refs/heads/master: aff512c8a4582c7f74af57bb09a9979edf92b6d8
12 changes: 3 additions & 9 deletions trunk/drivers/staging/easycap/easycap_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4829,33 +4829,27 @@ static int __init easycap_module_init(void)
{
int k, rc;

SAY("========easycap=======\n");
printk(KERN_INFO "Easycap version: "EASYCAP_DRIVER_VERSION "\n");

JOT(4, "begins. %i=debug %i=bars %i=gain\n",
easycap_debug, easycap_bars, easycap_gain);
SAY("version: " EASYCAP_DRIVER_VERSION "\n");

mutex_init(&mutex_dongle);
for (k = 0; k < DONGLE_MANY; k++) {
easycapdc60_dongle[k].peasycap = NULL;
mutex_init(&easycapdc60_dongle[k].mutex_video);
mutex_init(&easycapdc60_dongle[k].mutex_audio);
}
JOT(4, "registering driver easycap\n");
rc = usb_register(&easycap_usb_driver);
if (rc)
SAY("ERROR: usb_register returned %i\n", rc);
printk(KERN_ERR "Easycap: usb_register failed rc=%d\n", rc);

JOT(4, "ends\n");
return rc;
}
/*****************************************************************************/
static void __exit easycap_module_exit(void)
{
JOT(4, "begins\n");

usb_deregister(&easycap_usb_driver);

JOT(4, "ends\n");
}
/*****************************************************************************/

Expand Down

0 comments on commit 55594e2

Please sign in to comment.