diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2026-08-05 13:42:00 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-08-06 13:41:31 +0100 |
| commit | c03f0b9a7d9966b1846f561e4f49ed481c524a0a (patch) | |
| tree | 7de49e837afe18aa843b0f310957083d0a684cad /tools/perf/scripts/python | |
| parent | 3dcc74d51b223e07b54e0ad83700601598cae994 (diff) | |
ASoC: SDCA: Move HID registration to IRQ time
Currently, the SDCA code registers the HID device whilst parsing
the DisCo information. This necessitates storing the HID device
in the DisCo structs, which are intended to only store the parsed
DisCo. Having the HID device registered so early in the process
also causes some issues with cleaning up.
Update the code to register the HID device as the IRQs are handled,
this alleviates the previous concerns and brings the support inline
with the other SDCA event handling.
As part of this move the naming for the SDCA HID is also updated,
it saves some complexity around the passing of the SoundWire device
to include this in this patch. Update to using the dev_name for
the phys, which is more consistent with other HID users, and use
the actual function name/address for the HID name itself.
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20260805124205.4152543-4-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
