Age | Commit message (Collapse) | Author | |
---|---|---|---|
2017-03-08 | sun50iw1p1: Make RSB read/write calls MP-safe. | Christoph Muellner | |
When calling rsb_read() or rsb_write() from different processors at the same time we most likely mess up with the RSB block. This patch adds a spinlock, which guarantees atomic access to the RSB block. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com> | |||
2017-03-08 | sun50iw1p1: Separate RSB driver from PMIC code. | Christoph Muellner | |
This patch refactors the PMIC code and moves the RSB related code into its own module. This allows other code to access RSB devices as well and make the code more readable. Signed-off-by: Christoph Muellner <christoph.muellner@theobroma-systems.com> |