[media] mxl111sf: fix return value of mxl111sf_idac_config
authorMichael Krufky <mkrufky@linuxtv.org>
Tue, 1 Nov 2011 02:20:41 +0000 (23:20 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 7 Nov 2011 15:29:46 +0000 (13:29 -0200)
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>
drivers/media/dvb/dvb-usb/mxl111sf-phy.c

index 91dc1fc..ae8c2f8 100644 (file)
@@ -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;
 }
 
 /*