aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2011-10-31 22:20:41 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-07 10:29:46 -0500
commita9380ba11fc384a52bcee0884ca6dd069deb6b1b (patch)
treeccfde7aba1d245d2502bc1b8eb8b9b27a63795d4 /drivers/media
parent241fa6e42f5462a82f00ddf5169628a8c3976548 (diff)
[media] mxl111sf: fix return value of mxl111sf_idac_config
mxl111sf_idac_config was incorrectly returning val instead of ret 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, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/mxl111sf-phy.c b/drivers/media/dvb/dvb-usb/mxl111sf-phy.c
index 91dc1fc2825..ae8c2f839fc 100644
--- a/drivers/media/dvb/dvb-usb/mxl111sf-phy.c
+++ b/drivers/media/dvb/dvb-usb/mxl111sf-phy.c
@@ -332,7 +332,7 @@ int mxl111sf_idac_config(struct mxl111sf_state *state,
332 332
333 ret = mxl111sf_write_reg(state, V6_IDAC_SETTINGS_REG, val); 333 ret = mxl111sf_write_reg(state, V6_IDAC_SETTINGS_REG, val);
334 334
335 return val; 335 return ret;
336} 336}
337 337
338/* 338/*