]> asedeno.scripts.mit.edu Git - linux.git/commit
ALSA: korg1212: Delete a duplicate function call "release_firmware" in snd_korg1212_c...
authorMarkus Elfring <elfring@users.sourceforge.net>
Thu, 16 Nov 2017 10:22:26 +0000 (11:22 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 29 Nov 2017 08:29:41 +0000 (09:29 +0100)
commitcf576fe5fd74cdabf7fc3fd8ac3b9abea9b964f8
tree5737ae8d93b78051547560d4f02a38b60d908879
parent4d0272ca40dfe524ce8d1ae350f0a246ef849d4b
ALSA: korg1212: Delete a duplicate function call "release_firmware" in snd_korg1212_create()

The function "release_firmware" is called in the current implementation of
the function "_request_firmware" after a failure was detected.
Link: https://elixir.free-electrons.com/linux/v4.14-rc8/source/drivers/base/firmware_class.c#L1196
Such a call should therefore not be repeated directly after the
corresponding error information was received in the local variable "err"
of the function "snd_korg1212_create".
Thus remove a misplaced function call.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/korg1212/korg1212.c