diff options
Diffstat (limited to 'drivers/media/dvb-frontends/stv0299.c')
-rw-r--r-- | drivers/media/dvb-frontends/stv0299.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb-frontends/stv0299.c b/drivers/media/dvb-frontends/stv0299.c index 92a6075cd82f..b57ecf42e75a 100644 --- a/drivers/media/dvb-frontends/stv0299.c +++ b/drivers/media/dvb-frontends/stv0299.c | |||
@@ -420,7 +420,7 @@ static int stv0299_send_legacy_dish_cmd (struct dvb_frontend* fe, unsigned long | |||
420 | 420 | ||
421 | do_gettimeofday (&nexttime); | 421 | do_gettimeofday (&nexttime); |
422 | if (debug_legacy_dish_switch) | 422 | if (debug_legacy_dish_switch) |
423 | memcpy (&tv[0], &nexttime, sizeof (struct timeval)); | 423 | tv[0] = nexttime; |
424 | stv0299_writeregI (state, 0x0c, reg0x0c | 0x50); /* set LNB to 18V */ | 424 | stv0299_writeregI (state, 0x0c, reg0x0c | 0x50); /* set LNB to 18V */ |
425 | 425 | ||
426 | dvb_frontend_sleep_until(&nexttime, 32000); | 426 | dvb_frontend_sleep_until(&nexttime, 32000); |