diff options
| author | Takashi Iwai <tiwai@suse.de> | 2018-05-02 10:36:28 +0300 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2018-05-02 17:02:33 +0300 |
| commit | b099b9693d23d035c77c218508e083484ff63024 (patch) | |
| tree | e5146fb1601205061cf55e0f82d01cac5c513e47 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 964af639ad699404cbe36d0c1fc85970700e6107 (diff) | |
| download | linux-b099b9693d23d035c77c218508e083484ff63024.tar.xz | |
ALSA: usb-audio: Avoid superfluous usb_set_interface() calls
This is a preliminary change for the upcoming quirk implementation.
Currently USB-audio driver tries to call usb_set_interface() whenever
the format change with interface/altset modification happens. In this
patch, the check is replaced with the comparison of cur_altsetting and
the targeted altsetting pointer, so that the driver may skip the
unnecessary function calls.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
