Skip to content

Commit

Permalink
Update tuner_r82xx.c
Browse files Browse the repository at this point in the history
  • Loading branch information
old-dab committed Mar 18, 2023
1 parent 41a75c6 commit 64fb83c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/tuner_r82xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -1533,6 +1533,9 @@ int r82xx_init(struct r82xx_priv *priv)
priv->int_freq = 3570 * 1000;

if ((rc = r82xx_sysfreq_sel(priv, TUNER_DIGITAL_TV)) < 0) goto err;
rc = r82xx_write_reg_mask(priv, 0x08, priv->reg8[12], 0x3f);
if(rc < 0)
goto err;
priv->init_done = 1;

err:
Expand All @@ -1551,4 +1554,3 @@ int r82xx_set_dither(struct r82xx_priv *priv, int dither)
{
return r82xx_write_reg_mask(priv, 0x12, dither ? 0x00 : 0x10, 0x10);
}

0 comments on commit 64fb83c

Please sign in to comment.