diff options
| author | Takashi Iwai <[email protected]> | 2019-12-12 20:11:00 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2019-12-13 14:36:44 +0100 |
| commit | 89698ed5cc76d8de6c2b51d132c06bf4cd930314 (patch) | |
| tree | 2d3217f19152cbeec9fa92f544ca555739e0f7e7 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 341a79ee8b080ed41dccc13250fcffc2c2028ccd (diff) | |
ALSA: hda: Use waitqueue for RIRB in HDA-core helper, too
This patch implements the same logic that was done for the legacy
HD-audio controller driver by the commit 88452da92ba2 ("ALSA: hda: Use
standard waitqueue for RIRB wakeup") to the HDA-core helper code,
too. This makes snd_hdac_bus_get_response() waiting for the response
with bus->rirb_wq instead of polling when bus->polling is false.
It'll save both CPU time and response latency.
Reviewed-by: Kai Vehmanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions