[media] dvb-core: fix return code checking for devices with CA
authorOlli Salonen <olli.salonen@iki.fi>
Tue, 1 Mar 2016 19:28:54 +0000 (16:28 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 3 Mar 2016 17:33:33 +0000 (14:33 -0300)
commit711f3fba6ffd3914fd1b5ed9faf8d22bab6f2203
treeac10a13024ad6af24603635808711f52a5f0a02b
parent34f0693d7d772469f94d663c33ac18bc52080704
[media] dvb-core: fix return code checking for devices with CA

The test for the return code was mistakenly inverted. This caused DVB
devices with CA module to fail on modprobe.

Tested with TechnoTrend CT2-4650 CI USB tuner.

Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-core/dvbdev.c