ALSA: firewire-tascam: fix an LED bug
[cascardo/linux.git] / sound / firewire / tascam / tascam-transaction.c
index 1c9a88b..45c3ce3 100644 (file)
@@ -249,7 +249,7 @@ int snd_tscm_transaction_reregister(struct snd_tscm *tscm)
 
        /* Turn on messaging. */
        reg = cpu_to_be32(0x00000001);
-       return snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST,
+       err = snd_fw_transaction(tscm->unit, TCODE_WRITE_QUADLET_REQUEST,
                                  TSCM_ADDR_BASE + TSCM_OFFSET_MIDI_TX_ON,
                                  &reg, sizeof(reg), 0);
        if (err < 0)