tuner_r82xx: set init_done after init

This broke r82xx_standby().

Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
Steve Markgraf 2013-11-05 20:12:25 +01:00
parent ae6a72c586
commit 1cdc3a02fd

View File

@ -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);