mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-28 11:58:30 +01:00
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:
parent
ae6a72c586
commit
1cdc3a02fd
@ -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…
Reference in New Issue
Block a user