aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/media/rc/rc-main.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/media/rc/rc-main.c b/drivers/media/rc/rc-main.c
index 601d1ac1c688..d593bc65b4ca 100644
--- a/drivers/media/rc/rc-main.c
+++ b/drivers/media/rc/rc-main.c
@@ -789,8 +789,10 @@ static ssize_t show_protocols(struct device *device,
789 } else if (dev->raw) { 789 } else if (dev->raw) {
790 enabled = dev->raw->enabled_protocols; 790 enabled = dev->raw->enabled_protocols;
791 allowed = ir_raw_get_allowed_protocols(); 791 allowed = ir_raw_get_allowed_protocols();
792 } else 792 } else {
793 mutex_unlock(&dev->lock);
793 return -ENODEV; 794 return -ENODEV;
795 }
794 796
795 IR_dprintk(1, "allowed - 0x%llx, enabled - 0x%llx\n", 797 IR_dprintk(1, "allowed - 0x%llx, enabled - 0x%llx\n",
796 (long long)allowed, 798 (long long)allowed,