tuner_r82xx: set init_done after init

This broke r82xx_standby().

Signed-off-by: Steve Markgraf <steve@steve-m.de>
master
Steve Markgraf 11 years ago
parent ae6a72c586
commit 1cdc3a02fd
  1. 2
      src/tuner_r82xx.c

@ -1235,6 +1235,8 @@ int r82xx_init(struct r82xx_priv *priv)
rc = r82xx_sysfreq_sel(priv, 0, TUNER_DIGITAL_TV, SYS_DVBT); rc = r82xx_sysfreq_sel(priv, 0, TUNER_DIGITAL_TV, SYS_DVBT);
priv->init_done = 1;
err: err:
if (rc < 0) if (rc < 0)
fprintf(stderr, "%s: failed=%d\n", __FUNCTION__, rc); fprintf(stderr, "%s: failed=%d\n", __FUNCTION__, rc);

Loading…
Cancel
Save