summaryrefslogtreecommitdiffstats
path: root/sound/pci/echoaudio/indigodj_dsp.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-07-01 08:34:15 +0200
committerTakashi Iwai <tiwai@suse.de>2021-07-01 08:34:15 +0200
commit498386d1c4d98a72db7a2f51473593ad563b45ae (patch)
treef94e6b211b9a50106e6e047cd992ae3e209ef007 /sound/pci/echoaudio/indigodj_dsp.c
parentMAINTAINERS: remove Timur Tabi from Freescale SOC sound drivers (diff)
parentALSA: hda/realtek: fix mute/micmute LEDs for HP EliteBook 830 G8 Notebook PC (diff)
downloadlinux-498386d1c4d98a72db7a2f51473593ad563b45ae.tar.xz
linux-498386d1c4d98a72db7a2f51473593ad563b45ae.zip
Merge branch 'for-next' into for-linus
Diffstat (limited to 'sound/pci/echoaudio/indigodj_dsp.c')
-rw-r--r--sound/pci/echoaudio/indigodj_dsp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sound/pci/echoaudio/indigodj_dsp.c b/sound/pci/echoaudio/indigodj_dsp.c
index 2428b35f45d6..17a1d888d0b9 100644
--- a/sound/pci/echoaudio/indigodj_dsp.c
+++ b/sound/pci/echoaudio/indigodj_dsp.c
@@ -41,7 +41,8 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id)
if (snd_BUG_ON((subdevice_id & 0xfff0) != INDIGO_DJ))
return -ENODEV;
- if ((err = init_dsp_comm_page(chip))) {
+ err = init_dsp_comm_page(chip);
+ if (err) {
dev_err(chip->card->dev,
"init_hw - could not initialize DSP comm page\n");
return err;
@@ -56,7 +57,8 @@ static int init_hw(struct echoaudio *chip, u16 device_id, u16 subdevice_id)
chip->asic_loaded = true;
chip->input_clock_types = ECHO_CLOCK_BIT_INTERNAL;
- if ((err = load_firmware(chip)) < 0)
+ err = load_firmware(chip);
+ if (err < 0)
return err;
chip->bad_board = false;