OpenCloudOS-Kernel/drivers/media/usb/zr364xx
Mauro Carvalho Chehab 09f2082e23 [media] usb drivers: use BUG_ON() instead of if () BUG
Some USB drivers have a logic at the VB buffer handling like:
	if (in_interrupt())
		BUG();
Use, instead:
	BUG_ON(in_interrupt());

Btw, this logic looks weird on my eyes. We should convert them
to use VB2, in order to avoid those crappy things.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-06-09 18:30:09 -03:00
..
Kconfig [media] move the remaining USB drivers to drivers/media/usb 2012-08-15 16:34:46 -03:00
Makefile [media] move the remaining USB drivers to drivers/media/usb 2012-08-15 16:34:46 -03:00
zr364xx.c [media] usb drivers: use BUG_ON() instead of if () BUG 2015-06-09 18:30:09 -03:00