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>
@@ -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;
}
/*