USB: mos7840: test and propagate set_uart_reg return value