Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soundwire: slave: force fwnode as primary
Recent changes in drivers/base/core.c modified the behavior for fwnodes. While the changes are legit and make sense, they have a ripple effect on SoundWire Slave devices. Intel validation found a corner case where in module load/unload loops, the dev->fwnode pointer is overridden with device properties, which as a result caused suspend-resume timeouts since the dev->fwnode is detected as problematic in ACPI layers. This patch forces the fwnode to be properly reinitialized as a primary node. Fixes: d5dcce0 ("device property: Keep secondary firmware node secondary by type") Tested-by: Pierre-Louis Bossart <[email protected]> Signed-off-by: Bard Liao <[email protected]>
- Loading branch information