commit | 738206dec9354817e37c6cddb3eae278b4d7e7ba | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | Thu Sep 03 22:20:07 2015 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Fri Oct 09 22:30:12 2015 +0100 |
tree | c579582a329c36e1d26ab8899ad171914fe12a5d | |
parent | 59daef909d9ac2ca4d08389bf816a9ad3bf8c350 [diff] |
i2c: rcar: remove spinlock We make sure to reinit the HW in the timeout case; then we know that interrupts are always disabled in the sections protected by the spinlock. Thus, we can simply remove it which is a preparation for further refactoring. While here, rename the timeout variable to time_left which is way more readable. Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>