diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2011-10-31 23:29:17 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-11-07 13:36:07 -0200 |
commit | 2f4133de28edafcaac3ce6b57faf8f40ed2ff1b9 (patch) | |
tree | 46c67cace85887bef3af32fabcd34fb65aa8d65e /drivers/media/dvb/dvb-usb/mxl111sf-phy.c | |
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>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/mxl111sf-phy.c')
-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, /* 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; } |