alistair23-linux/include/linux/soundwire
Pierre-Louis Bossart 4da0680f24 soundwire: intel: add mutex for shared SHIM register access
Some of the Intel SoundWire SHIM registers contain fields for
different links. Without protection, the master drivers for the
different links will access these shared registers, leading to invalid
configurations and timeouts (specifically when changing CPA/SPA
power-related registers and polling for the changes to be applied).

A mutex is added to make sure all rmw access to those registers are
serialized.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191212014507.28050-11-pierre-louis.bossart@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2019-12-12 09:17:07 +05:30
..
sdw.h soundwire: sdw_slave: track unattach_request to handle all init sequences 2019-12-12 09:17:06 +05:30
sdw_intel.h soundwire: intel: add mutex for shared SHIM register access 2019-12-12 09:17:07 +05:30
sdw_registers.h soundwire: remove multiple blank lines 2019-05-02 17:17:52 +02:00
sdw_type.h soundwire: add module_sdw_driver helper macro 2019-07-01 11:52:43 +05:30