kernel_optimize_test/drivers/media/dvb
Mauro Carvalho Chehab be44eb283b [media] drxk: Proper handle/propagate the error codes
This driver is very big and complex. An error happening in the middle
of any initialization may cause the frontend to not work. So, it
needs to properly propagate error codes internally and to userspace.

Also, printing the error codes at the places it happened helps to
discover were's a bug at the code.

Before this change, a do { } while (0) loop and lots of breaks inside
were used to propagate errors. While this works, if there are
loops inside other loops, it could be easy to forget to add another
break, causing the error to not abort the function.

Also, as not all functions were reporting errors, it is hard to
discover why something failed.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-07-27 17:55:49 -03:00
..
b2c2 [media] use pci_dev->revision 2011-05-20 07:26:16 -03:00
bt8xx [media] dvb-bt8xx: Don't return -EFAULT when a device is not found 2011-07-27 17:53:37 -03:00
ddbridge [media] drxk: Move I2C address into a config structure 2011-07-27 17:55:48 -03:00
dm1105 [media] dm1105: GPIO handling added, I2C on GPIO added, LNB control through GPIO reworked 2011-05-25 07:51:26 -03:00
dvb-core [media] DVB: dvb_frontend: fix dtv_property_dump for DTV_DVBT2_PLP_ID 2011-07-27 17:52:24 -03:00
dvb-usb [media] dvb-usb/technisat-usb2: don't use flush_scheduled_work() 2011-07-27 17:53:08 -03:00
firewire [media] firedtv: change some -EFAULT returns to more fitting error codes 2011-07-27 17:53:38 -03:00
frontends [media] drxk: Proper handle/propagate the error codes 2011-07-27 17:55:49 -03:00
mantis [media] STV0299 Register 02 on Opera1/Bsru6/z0194a/mantis_vp1033 2011-05-20 09:29:48 -03:00
ngene [media] drxk: Move I2C address into a config structure 2011-07-27 17:55:48 -03:00
pluto2 Fix common misspellings 2011-03-31 11:26:23 -03:00
pt1 [media] Fix panic on loading earth-pt1 2011-05-20 09:29:33 -03:00
siano [media] siano: bad parameter is -EINVAL and not -EFAULT 2011-07-27 17:53:36 -03:00
ttpci [media] budget-ci: Add support for TT S-1500 with BSBE1-D01A tuner 2011-05-20 09:28:30 -03:00
ttusb-budget [media] ttusb-budget: driver has a debug param, use it 2011-05-20 09:27:38 -03:00
ttusb-dec Fix common misspellings 2011-03-31 11:26:23 -03:00
Kconfig [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00
Makefile [media] ddbridge: Allow compiling of the driver 2011-07-27 17:55:45 -03:00