Skip to content
Commit 4e4dfe4c authored by Takashi Iwai's avatar Takashi Iwai
Browse files

ALSA: emu10k1: Simplify firmware loader code



The EMU1010 support in emu10k1 driver has two request_firmware()
calls, one for the main board and one for the dock.  Both call
patterns are fairly similar, and we can simplify it by introducing a
helper function and a table instead of the open switch/case.

Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e8c44abe
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