[media] stk1160: Replace BUG_ON with WARN_ON
authorEzequiel Garcia <elezegarcia@gmail.com>
Fri, 23 Nov 2012 11:12:35 +0000 (08:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 1 Jan 2013 12:04:40 +0000 (10:04 -0200)
commite003ae399c160e00c1a882dc6dd4f0ef855ae616
treee4d24ef171a17e1ae1efeee030cf0b0a9dee27d2
parentb858c331cdf402853be2c48c8f4f77173ef04da8
[media] stk1160: Replace BUG_ON with WARN_ON

This situation is not even an error condition so it's stupid to BUG_ON.
Learn the lesson:
http://permalink.gmane.org/gmane.linux.kernel/1347333

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/stk1160/stk1160-video.c