]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
soundwire: add override addr ops
authorVinod Koul <vkoul@kernel.org>
Tue, 2 Mar 2021 07:51:03 +0000 (15:51 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 22 Mar 2021 12:03:10 +0000 (17:33 +0530)
commit6558b667a7297418b8951ba54da68d551035ecc5
tree0f581357f60c1294ff7a5f9ea3c2f2c375376918
parenta38fd8748464831584a19438cbb3082b5a2dab15
soundwire: add override addr ops

Platform firmware may have incorrect _ADR values causing the driver
probes to fail. Add the override_ops, which when configured will allow
for quirks based on DMI etc to override the addr values.

Co-developed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20210302075105.11515-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/slave.c
include/linux/soundwire/sdw.h