diff options
author | Vijendar Mukunda <Vijendar.Mukunda@amd.com> | 2022-12-21 22:58:50 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-25 23:33:37 +0000 |
commit | 9d327a4443bffe8d48acc6a31c0198f251fca08b (patch) | |
tree | 22588abcbee5c7edd5b42c3259b676257e658256 /lib/uuid.c | |
parent | 1d325cdaf7a2747df42b43eed8b3de2e2d6c69bb (diff) |
ASoC: amd: ps: update dev index value in irq handler
Instead of using hard coded index value for platform device index,
retrieve the device index based on platform devices created.
In PDM config case, ACP PCI driver retrieves dev index from
pdm_dev_index variable.
This will avoid overhead when multiple endpoint combinations
support is added later.
platform device index will vary based on audio endpoint
configuration.
Signed-off-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20221221172855.1618766-3-Vijendar.Mukunda@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions