summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2011-10-31 23:29:17 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-07 13:36:07 -0200
commit2f4133de28edafcaac3ce6b57faf8f40ed2ff1b9 (patch)
tree46c67cace85887bef3af32fabcd34fb65aa8d65e /drivers/media
parenta9380ba11fc384a52bcee0884ca6dd069deb6b1b (diff)
downloadop-kernel-dev-2f4133de28edafcaac3ce6b57faf8f40ed2ff1b9.zip
op-kernel-dev-2f4133de28edafcaac3ce6b57faf8f40ed2ff1b9.tar.gz
[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>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb/mxl111sf-phy.c2
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 ae8c2f8..09787be 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,
/* 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;
}
OpenPOWER on IntegriCloud