[PATCH v2] soc: qcom: provide mechanism for drivers to access L2 registers

2016-06-03 Thread Neil Leeder
L2 registers are accessed using a select register and data register pair. To prevent multiple concurrent writes to the select register by independent drivers, the write to the select register and the associated access of the data register are protected with a lock. All drivers accessing the L2

[PATCH v2] soc: qcom: provide mechanism for drivers to access L2 registers

2016-06-03 Thread Neil Leeder
L2 registers are accessed using a select register and data register pair. To prevent multiple concurrent writes to the select register by independent drivers, the write to the select register and the associated access of the data register are protected with a lock. All drivers accessing the L2