-
Axel Lin authored
wm831x_reg_read() returns negative error code on failure. This prevents using the error code as the value read. Signed-off-by:
Axel Lin <axel.lin@gmail.com> Signed-off-by:
Mark Brown <broonie@opensource.wolfsonmicro.com>
363506cd