Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261210
b: refs/heads/master
c: 0528f35
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent a9b767f commit a05035b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: ec05a642140c7c34f7ba1cb8a94be9b1154286ae
refs/heads/master: 0528f354cfb98d8df32a76302ec07af1aa29dbd4
3 changes: 2 additions & 1 deletion trunk/drivers/media/rc/rc-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1099,14 +1099,15 @@ int rc_register_device(struct rc_dev *dev)
if (rc < 0)
goto out_input;
}
mutex_unlock(&dev->lock);

if (dev->change_protocol) {
rc = dev->change_protocol(dev, rc_map->rc_type);
if (rc < 0)
goto out_raw;
}

mutex_unlock(&dev->lock);

IR_dprintk(1, "Registered rc%ld (driver: %s, remote: %s, mode %s)\n",
dev->devno,
dev->driver_name ? dev->driver_name : "unknown",
Expand Down

0 comments on commit a05035b

Please sign in to comment.