Staging: comedi: add a missing break statement
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 13 Jan 2013 20:05:05 +0000 (23:05 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Jan 2013 21:52:37 +0000 (13:52 -0800)
This is a static checker fix.  From the context it looks like there
should be a break here.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_tiocmd.c

index 0c991b99da1349adb2d3987c3e168de66b8d5edd..13747f324936deebf5fde0fbcc7f6a9a45520872 100644 (file)
@@ -159,6 +159,7 @@ static int ni_tio_input_cmd(struct ni_gpct *counter, struct comedi_async *async)
                async->inttrig = NULL;
                mite_dma_arm(counter->mite_chan);
                retval = ni_tio_arm(counter, 1, cmd->start_arg);
+               break;
        case TRIG_OTHER:
                async->inttrig = NULL;
                mite_dma_arm(counter->mite_chan);