]> git.baikalelectronics.ru Git - kernel.git/commit
[media] DVB: return meaningful error codes in dvb_frontend
authorAndreas Oberritter <obi@linuxtv.org>
Sun, 8 May 2011 23:03:34 +0000 (00:03 +0100)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:30:56 +0000 (09:30 -0300)
commitbcdc380cd7ee0b0c90be7a948050b9b92b4e4742
tree278e775b573333939aa87b023fa4d9ff87853404
parent7630f585b138d6243d0ab16f6c0a2c651aa22fdd
[media] DVB: return meaningful error codes in dvb_frontend

- Return values should not be ORed. Abort early instead.
- Return -EINVAL instead of -1.

Signed-off-by: Andreas Oberritter <obi@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_frontend.c