Skip to content

Commit

Permalink
[media] mxl111sf: check for errors after mxl111sf_write_reg in mxl111…
Browse files Browse the repository at this point in the history
…sf_idac_config

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Nov 7, 2011
1 parent a9380ba commit 2f4133d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/media/dvb/dvb-usb/mxl111sf-phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -328,9 +328,11 @@ int mxl111sf_idac_config(struct mxl111sf_state *state,
/* set hysteresis value reg: 0x0B<5:0> */
ret = mxl111sf_write_reg(state, V6_IDAC_HYSTERESIS_REG,
(hysteresis_value & 0x3F));
mxl_fail(ret);
}

ret = mxl111sf_write_reg(state, V6_IDAC_SETTINGS_REG, val);
mxl_fail(ret);

return ret;
}
Expand Down

0 comments on commit 2f4133d

Please sign in to comment.