diff options
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2024-04-28 11:37:14 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2024-04-28 12:00:36 +0200 |
commit | 7868e4c1794d336d40578e861bb3824d1ccdaaa3 (patch) | |
tree | 7826ddc5129982e4607c22c71ab25fc827cb9e72 /sound/usb/mixer_scarlett2.c | |
parent | 15c7e87aa88f0ab2d51c2e2123b127a6d693ca21 (diff) |
ALSA: emu10k1: simplify E-MU card FPGA reset sequence
Firstly, it is pointless to explicitly disable the power to the dock
prior to resetting the FPGA, as the latter will do the former anyway.
Secondly, it doesn't make much sense to check whether the FPGA is
already programmed. It's much simpler to just presume it is, and issue
the self-reset command. If it isn't, the effect isn't worse than the
checks themselves. As a side effect, we lose the info if the reset
fails, but there is no plausible way how that could happen unless the
card burns out while operating, and in that case we'll detect a firmware
upload failure a bit later anyway.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <20240428093717.3198716-2-oswald.buddenhagen@gmx.de>
Diffstat (limited to 'sound/usb/mixer_scarlett2.c')
0 files changed, 0 insertions, 0 deletions