[media] dib0090: Do the right check for state->rf_ramp
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Sat, 27 Feb 2016 10:51:09 +0000 (07:51 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 1 Mar 2016 14:49:52 +0000 (11:49 -0300)
commit57bcbde9a1c3e23d0c2e2b65246de7cf8925e5fb
treebb935104ef8611cb2189116814ca15e431eaa624
parentb6554ea5511ac748051144d6789d49ea9a61ddfd
[media] dib0090: Do the right check for state->rf_ramp

Smatch with -pkernel --no-data keeps complaining about rf_ramp:
drivers/media/dvb-frontends/dib0090.c:1119 dib0090_pwm_gain_reset() error: we previously assumed 'state->rf_ramp' could be null (see line 1086)

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/dib0090.c