[media] pctv452e: don't call BUG_ON() on non-fatal error
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 7 Oct 2016 17:15:53 +0000 (14:15 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:47:13 +0000 (12:47 -0300)
commit5dfd2c8f263dfcaf614d24734f0af8c1c18a9ca8
tree4cb4c0e06e59a415f1dce71bc8f6704edb1c9040
parent73d5c5c864f4094e86708760fd4612fbf1e6e76c
[media] pctv452e: don't call BUG_ON() on non-fatal error

There are some conditions on this driver that are tested with
BUG_ON() with are not serious enough to hang a machine.

So, just return an error if this happens.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/pctv452e.c