[media] bt8xx: add missing break
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 18 May 2017 11:52:25 +0000 (08:52 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 19 May 2017 10:08:25 +0000 (07:08 -0300)
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>
drivers/media/pci/bt8xx/dst_ca.c

index 04d06c5..90f4263 100644 (file)
@@ -637,6 +637,7 @@ static long dst_ca_ioctl(struct file *file, unsigned int cmd, unsigned long ioct
                        goto free_mem_and_exit;
                }
                dprintk(verbose, DST_CA_INFO, 1, " -->CA_SET_PID Success !");
+               break;
        default:
                result = -EOPNOTSUPP;
        }