Commit 2fa98a42 authored by Tasos Sahanidis's avatar Tasos Sahanidis Committed by Takashi Iwai

ALSA: ymfpci: Use register macro in place of integer literal

The macro for said register already exists, so just use it, to make the
code more readable.
Signed-off-by: default avatarTasos Sahanidis <tasos@tasossah.com>
Link: https://lore.kernel.org/r/20230329043918.179352-1-tasos@tasossah.comSigned-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent a8752868
......@@ -2214,7 +2214,7 @@ static void snd_ymfpci_free(struct snd_card *card)
snd_ymfpci_free_gameport(chip);
pci_write_config_word(chip->pci, 0x40, chip->old_legacy_ctrl);
pci_write_config_word(chip->pci, PCIR_DSXG_LEGACY, chip->old_legacy_ctrl);
release_firmware(chip->dsp_microcode);
release_firmware(chip->controller_microcode);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment