From: Michael Krufky Date: Tue, 1 Nov 2011 02:20:41 +0000 (-0300) Subject: [media] mxl111sf: fix return value of mxl111sf_idac_config X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=a9380ba11fc384a52bcee0884ca6dd069deb6b1b;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git [media] mxl111sf: fix return value of mxl111sf_idac_config mxl111sf_idac_config was incorrectly returning val instead of ret Signed-off-by: Michael Krufky Signed-off-by: Mauro Carvalho Chehab --- 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; } /*