summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2011-11-01 03:20:41 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-11-07 16:29:46 +0100
commita9380ba11fc384a52bcee0884ca6dd069deb6b1b (patch)
treeccfde7aba1d245d2502bc1b8eb8b9b27a63795d4 /drivers/media/dvb/dvb-usb
parent[media] uvcvideo: GET_RES should only be checked for BITMAP type menu controls (diff)
downloadlinux-a9380ba11fc384a52bcee0884ca6dd069deb6b1b.tar.xz
linux-a9380ba11fc384a52bcee0884ca6dd069deb6b1b.zip
[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/dvb/dvb-usb')
-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 91dc1fc2825b..ae8c2f839fcf 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,
ret = mxl111sf_write_reg(state, V6_IDAC_SETTINGS_REG, val);
- return val;
+ return ret;
}
/*