diff options
| author | Takashi Iwai <[email protected]> | 2020-11-23 09:53:15 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2020-11-23 15:12:36 +0100 |
| commit | 1865211d6789e8404c75278754f0fa4735165600 (patch) | |
| tree | b4cf3ccca7e0b2fcd5969e1426a7746f82699f04 /tools/perf/scripts/python/bin | |
| parent | f6581c0e5d297cc1e0d7eb7c2603097f532e629a (diff) | |
ALSA: usb-audio: Move snd_usb_autoresume() call out of setup_hw_info()
This is a preliminary work for the upcoming hw-constraint change for
the implicit feedback mode.
Currently snd_usb_autoresume() is called at the end of
setup_hwinfo(). It's a bit confusing; because of this implicit
refcount usage, the caller side needs to call snd_usb_autosuspend()
later in the error path although it's not seen inside the function.
Instead, it's clearer to call both snd_usb_autoresume() and suspend()
in the very same function.
It's only refactoring and no functional changes.
Tested-by: Keith Milner <[email protected]>
Tested-by: Dylan Robinson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions