]> 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)
commitbc4d6e5a3af03765071f319c73e093b96e4ce640
tree278e775b573333939aa87b023fa4d9ff87853404
parent5755ab5110a19e16aa393d1bb9756a55365fe39b
[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