Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320698
b: refs/heads/master
c: e04f4b2
h: refs/heads/master
v: v3
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Jul 31, 2012
1 parent 4f20831 commit 9c252de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d1b4a085fbd31d182a19f8a0c5144e4f5e831b8a
refs/heads/master: e04f4b2debc84ab801ee26f0e4c1c99e3ac2bd04
4 changes: 3 additions & 1 deletion trunk/drivers/media/dvb/frontends/dib8000.c
Original file line number Diff line number Diff line change
Expand Up @@ -2680,12 +2680,14 @@ static int dib8000_tune(struct dvb_frontend *fe)
{
struct dib8000_state *state = fe->demodulator_priv;
int ret = 0;
u16 lock, value, mode = fft_to_mode(state);
u16 lock, value, mode;

// we are already tuned - just resuming from suspend
if (state == NULL)
return -EINVAL;

mode = fft_to_mode(state);

dib8000_set_bandwidth(fe, state->fe[0]->dtv_property_cache.bandwidth_hz / 1000);
dib8000_set_channel(state, 0, 0);

Expand Down

0 comments on commit 9c252de

Please sign in to comment.