Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320681
b: refs/heads/master
c: 720bb64
h: refs/heads/master
i:
  320679: 3c97dcf
v: v3
  • Loading branch information
Douglas Bagnall authored and Mauro Carvalho Chehab committed Jul 31, 2012
1 parent 0cc596d commit 9a2baf4
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: 8f695d3f07bf9fd2914d18d1d2f89e3574b809ff
refs/heads/master: 720bb6436ff30fccad05cf5bdf961ea5b1f5686d
5 changes: 3 additions & 2 deletions trunk/drivers/media/rc/rc-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,10 +775,11 @@ static ssize_t show_protocols(struct device *device,
if (dev->driver_type == RC_DRIVER_SCANCODE) {
enabled = dev->rc_map.rc_type;
allowed = dev->allowed_protos;
} else {
} else if (dev->raw) {
enabled = dev->raw->enabled_protocols;
allowed = ir_raw_get_allowed_protocols();
}
} else
return -ENODEV;

IR_dprintk(1, "allowed - 0x%llx, enabled - 0x%llx\n",
(long long)allowed,
Expand Down

0 comments on commit 9a2baf4

Please sign in to comment.