From: Mauro Carvalho Chehab Date: Sun, 10 Aug 2014 02:14:20 +0000 (-0300) Subject: [media] au0828: fix checks if dvb is initialized X-Git-Tag: fixes-against-v3.18-rc2~130^2^2~522 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbc62a18b6d90da702d14f0d04f67de1e37ca790;p=pandora-kernel.git [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 --- Reading git-diff-tree failed