commit | 09f2082e23ad8e89e10152b8701d3511ace45290 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Tue May 19 08:00:56 2015 -0300 |
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | Tue Jun 09 18:30:09 2015 -0300 |
tree | 9d18d835e169f7e88eb9561d5fd11e94968f289b | |
parent | fa8cb6444c3236d2bad7460bdfdb2685f82b7ee4 [diff] |
[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>