[media] dib0090: do the right thing if rf_ramp is NULL
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 22 Feb 2016 14:12:41 +0000 (11:12 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Feb 2016 10:16:37 +0000 (07:16 -0300)
commite76bea9abd14a3a3af102fe30c5e9dd1b2e44d72
tree3205dc1f59beb70626b3eee860d0476529999f9e
parent55d066a4c7b9e2e0c40eaac87a741f7217af6e8b
[media] dib0090: do the right thing if rf_ramp is NULL

As warned by smatch:
drivers/media/dvb-frontends/dib0090.c:1118 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