linux/drivers/media/usb/au0828
Mauro Carvalho Chehab bbc62a18b6 [media] au0828: fix checks if dvb is initialized
dev->dvb is always not null, as it is an area at the dev
memory. So, checking if (dev->dvb) is always true.

Instead of this stupid check, what the code wants to do is
to know if the DVB was successully registered.

Fix it by checking, instead, for dvb->frontend. It should
also be sure that this var will be NULL if the device was
not properly initialized.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-08-21 15:25:10 -05:00
..
au0828-cards.c [media] au0828: use pr_foo macros 2014-08-21 15:25:08 -05:00
au0828-cards.h
au0828-core.c [media] au0828: add pr_info to track au0828 suspend/resume code 2014-08-21 15:25:08 -05:00
au0828-dvb.c [media] au0828: fix checks if dvb is initialized 2014-08-21 15:25:10 -05:00
au0828-i2c.c [media] au0828: use pr_foo macros 2014-08-21 15:25:08 -05:00
au0828-input.c [media] au0828: add pr_info to track au0828 suspend/resume code 2014-08-21 15:25:08 -05:00
au0828-reg.h
au0828-vbi.c [media] au0828: use pr_foo macros 2014-08-21 15:25:08 -05:00
au0828-video.c [media] au0828: add pr_info to track au0828 suspend/resume code 2014-08-21 15:25:08 -05:00
au0828.h [media] au0828: use pr_foo macros 2014-08-21 15:25:08 -05:00
Kconfig [media] au0828: add support for IR on HVR-950Q 2014-07-30 15:51:43 -03:00
Makefile [media] au0828: add support for IR on HVR-950Q 2014-07-30 15:51:43 -03:00