Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219733
b: refs/heads/master
c: cc92ac2
h: refs/heads/master
i:
  219731: 44b742c
v: v3
  • Loading branch information
Jiri Slaby authored and Greg Kroah-Hartman committed Sep 5, 2010
1 parent 3bee7ed commit c62e333
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 54669fdeb24b129cfa6f188796430be79ebc8688
refs/heads/master: cc92ac20496fa24209712ab561738f4f8b57336a
5 changes: 3 additions & 2 deletions trunk/drivers/staging/lirc/lirc_imon.c
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ static int imon_probe(struct usb_interface *interface,
if (lirc_minor < 0) {
err("%s: lirc_register_driver failed", __func__);
alloc_status = 7;
goto alloc_status_switch;
goto unlock;
} else
dev_info(dev, "Registered iMON driver "
"(lirc minor: %d)\n", lirc_minor);
Expand Down Expand Up @@ -929,8 +929,9 @@ static int imon_probe(struct usb_interface *interface,
"usb<%d:%d> initialized\n", vendor, product, ifnum,
usbdev->bus->busnum, usbdev->devnum);

alloc_status_switch:
unlock:
mutex_unlock(&context->ctx_lock);
alloc_status_switch:

switch (alloc_status) {
case 7:
Expand Down

0 comments on commit c62e333

Please sign in to comment.