Skip to content

Commit

Permalink
[media] mxl111sf: fix return value of mxl111sf_idac_config
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Nov 7, 2011
1 parent 241fa6e commit a9380ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/dvb-usb/mxl111sf-phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

/*
Expand Down

0 comments on commit a9380ba

Please sign in to comment.