diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-09 23:14:20 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-08-21 15:25:10 -0500 |
commit | bbc62a18b6d90da702d14f0d04f67de1e37ca790 (patch) | |
tree | 9ff920b4b353403d37f31ac9125ca963e2dc44a9 /drivers/mtd/lpddr/lpddr2_nvm.c | |
parent | 59b94f3e74042a82fd59478d688909760b873b02 (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 'drivers/mtd/lpddr/lpddr2_nvm.c')
0 files changed, 0 insertions, 0 deletions