commit | 4e4dfe4c3fb2888bd96eed629220bd2e7f105f60 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Nov 02 18:13:06 2016 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Nov 15 08:20:43 2016 +0100 |
tree | b6cdfc8d5f2775c3ef06030c357c03804b6172f8 | |
parent | e8c44abeab76cc3b1d79242612b9a2d82ab11b6b [diff] |
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: Takashi Iwai <tiwai@suse.de>