Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
soundwire: intel_bus_common: prevent peripheral interrupts during bus…
… config There is an potential deadlock on Intel platforms with the following scenario: a) the bank switch starts and the msg->lock is taken b) an interrupt happens and the workqueue schedules a read from IntStat0 register, which is blocked by the msg->lock c) the manager writes the bank switch command, which is blocked by the read that won't go out. b) is blocked by a) and c) is blocked by b). This patch suggests disabling the peripheral interrupts temporarily during sync_arm/sync_go sequences used by the bank switch. FIXME: What happens if there's already a work scheduled? Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
- Loading branch information