diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2011-10-31 22:29:17 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-07 10:36:07 -0500 |
commit | 2f4133de28edafcaac3ce6b57faf8f40ed2ff1b9 (patch) | |
tree | 46c67cace85887bef3af32fabcd34fb65aa8d65e | |
parent | a9380ba11fc384a52bcee0884ca6dd069deb6b1b (diff) |
[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>
-rw-r--r-- | drivers/media/dvb/dvb-usb/mxl111sf-phy.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-usb/mxl111sf-phy.c b/drivers/media/dvb/dvb-usb/mxl111sf-phy.c index ae8c2f839fcf..09787be576ac 100644 --- a/drivers/media/dvb/dvb-usb/mxl111sf-phy.c +++ b/drivers/media/dvb/dvb-usb/mxl111sf-phy.c | |||
@@ -328,9 +328,11 @@ int mxl111sf_idac_config(struct mxl111sf_state *state, | |||
328 | /* set hysteresis value reg: 0x0B<5:0> */ | 328 | /* set hysteresis value reg: 0x0B<5:0> */ |
329 | ret = mxl111sf_write_reg(state, V6_IDAC_HYSTERESIS_REG, | 329 | ret = mxl111sf_write_reg(state, V6_IDAC_HYSTERESIS_REG, |
330 | (hysteresis_value & 0x3F)); | 330 | (hysteresis_value & 0x3F)); |
331 | mxl_fail(ret); | ||
331 | } | 332 | } |
332 | 333 | ||
333 | ret = mxl111sf_write_reg(state, V6_IDAC_SETTINGS_REG, val); | 334 | ret = mxl111sf_write_reg(state, V6_IDAC_SETTINGS_REG, val); |
335 | mxl_fail(ret); | ||
334 | 336 | ||
335 | return ret; | 337 | return ret; |
336 | } | 338 | } |