[media] mxl111sf: check for errors after mxl111sf_write_reg in mxl111sf_idac_config

Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Michael Krufky 2011-10-31 23:29:17 -03:00 committed by Mauro Carvalho Chehab
parent a9380ba11f
commit 2f4133de28
1 changed files with 2 additions and 0 deletions

View File

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