diff options
| author | 2014-08-09 23:14:20 -0300 | |
|---|---|---|
| committer | 2014-08-21 15:25:10 -0500 | |
| commit | bbc62a18b6d90da702d14f0d04f67de1e37ca790 (patch) | |
| tree | 9ff920b4b353403d37f31ac9125ca963e2dc44a9 /kernel/workqueue.c | |
| parent | [media] xc5000: better name the functions (diff) | |
[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>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions
