Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de33276b authored by H Hartley Sweeten's avatar H Hartley Sweeten Committed by Greg Kroah-Hartman
Browse files

staging: comedi: adv_pci_dio: checkpatch.pl cleanup (fallthrough)



Fix these checkpatch.pl warnings:

WARNING: Possible switch case/default not preceeded by break or fallthrough comment

Signed-off-by: default avatarH Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 11828ce9
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -827,7 +827,7 @@ static int pci_dio_reset(struct comedi_device *dev)
		outb(0, dev->iobase + PCI1730_DO + 1);
		outb(0, dev->iobase + PCI1730_DO + 1);
		outb(0, dev->iobase + PCI1730_IDO);
		outb(0, dev->iobase + PCI1730_IDO);
		outb(0, dev->iobase + PCI1730_IDO + 1);
		outb(0, dev->iobase + PCI1730_IDO + 1);
		/* NO break there! */
		/* fallthrough */
	case TYPE_PCI1733:
	case TYPE_PCI1733:
		/* disable interrupts */
		/* disable interrupts */
		outb(0, dev->iobase + PCI1730_3_INT_EN);
		outb(0, dev->iobase + PCI1730_3_INT_EN);
@@ -887,7 +887,7 @@ static int pci_dio_reset(struct comedi_device *dev)
		outb(0x80, dev->iobase + PCI1753E_ICR1);
		outb(0x80, dev->iobase + PCI1753E_ICR1);
		outb(0x80, dev->iobase + PCI1753E_ICR2);
		outb(0x80, dev->iobase + PCI1753E_ICR2);
		outb(0x80, dev->iobase + PCI1753E_ICR3);
		outb(0x80, dev->iobase + PCI1753E_ICR3);
		/* NO break there! */
		/* fallthrough */
	case TYPE_PCI1753:
	case TYPE_PCI1753:
		outb(0x88, dev->iobase + PCI1753_ICR0); /* disable & clear
		outb(0x88, dev->iobase + PCI1753_ICR0); /* disable & clear
							 * interrupts */
							 * interrupts */