aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-18 07:52:25 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-05-19 06:08:25 -0400
commita042023f1bde77ca01f6bd5e98a1b8ba8aed8b6c (patch)
tree5b0c5b1308b5b151ef2ff4f8dcc2e74de54b279e
parentb7c15d5d90661f6eaa49f7a7a72d482fe1923d4a (diff)
[media] bt8xx: add missing break
The logic that handles CA_SET_PID is clearly missing a break: it prints that the command succeeded, but, due to the missing break, it would be returning -EOPNOTSUPP, as if the driver weren't supporting such ioctl. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
-rw-r--r--drivers/media/pci/bt8xx/dst_ca.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/pci/bt8xx/dst_ca.c b/drivers/media/pci/bt8xx/dst_ca.c
index 04d06c564602..90f4263452d3 100644
--- a/drivers/media/pci/bt8xx/dst_ca.c
+++ b/drivers/media/pci/bt8xx/dst_ca.c
@@ -637,6 +637,7 @@ static long dst_ca_ioctl(struct file *file, unsigned int cmd, unsigned long ioct
637 goto free_mem_and_exit; 637 goto free_mem_and_exit;
638 } 638 }
639 dprintk(verbose, DST_CA_INFO, 1, " -->CA_SET_PID Success !"); 639 dprintk(verbose, DST_CA_INFO, 1, " -->CA_SET_PID Success !");
640 break;
640 default: 641 default:
641 result = -EOPNOTSUPP; 642 result = -EOPNOTSUPP;
642 } 643 }